Closed Thread Icon

Preserved Topic: div's (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20561" title="Pages that link to Preserved Topic: div&amp;#039;s (Page 1 of 1)" rel="nofollow" >Preserved Topic: div&#039;s <span class="small">(Page 1 of 1)</span>\

 
Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 08-27-2002 18:33

Question, mostly related to the alignCenter topic, but I was wondering if it's possible to do away completely w/ the div's in this page?
http://www.geocities.com/genevievescu/Ozone/Page4.html

Because I don't see how. And also, why is it so bad to have them? Do they just not work for every browser?

Thanks so much!

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu
http://www.geocities.com/genevievescu/

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 08-27-2002 18:50

There's really nothing wrong with the way you're using the divs on that page, there won't be any problems in any halfway decent browser as they all can deal with divs without difficulties.

What you might consider though is defining some global styles in the <head> area. If you use something like

ol { margin-left: 10px; }

you can lose all the divs around the lists and achieve the same effect with only that one line in the header. And of course you could think up some similar styles for the links and see if you can make the code a bit cleaner that way.

kuckus (cell #282)

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 08-27-2002 19:07

Thanks. That's a really good idea.

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu
http://www.geocities.com/genevievescu/

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 08-27-2002 19:11

Way weird. I tried it and click the link to see what happened now... all of them lost all indentation completely...
http://www.geocities.com/genevievescu/Ozone/Page4_old.html
http://www.geocities.com/genevievescu/Ozone/Page4.html
[edit: adding original page]

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu
http://www.geocities.com/genevievescu/

[This message has been edited by Genevieve (edited 08-27-2002).]

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 08-27-2002 20:27

They look fine to me. I'm using Mozilla 1.1

Later,
C:\


~Binary is best~

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 08-27-2002 21:35

Hmm, that's strange indeed...

I just played around with the CSS a bit, it works if you add the the margin-left to the styles for <li> tags instead of the ones for <ol>. But I don't know how it will look in Mozilla then (probably OK though).

I wonder if anyone has an explanation for this - or might it just be an IE quirk?

kuckus (cell #282)

Genevieve
Paranoid (IV) Inmate

From: Santa Clara, CA, USA
Insane since: Jul 2002

posted posted 08-27-2002 23:04

Ya, I'm using IE. Thanks! Using margins on the li instead of ol worked great...though I still don't understand why ol didn't work. For the rest of my pages I'm using a .css style sheet because everything is just about the same. But for the Table of Contents I don't want everything in h1-h5 always centered. ^_^ But it works great on the other pages. So much easier than adding internal styling!!!

Huggles!

Genevieve Hokanson
Student Intern, GPB
http://einstein.stanford.edu
http://www.geocities.com/genevievescu/

« BackwardsOnwards »

Show Forum Drop Down Menu