|  | Posted by eslachance on 10/14/05 03:16 
Mark Parnell wrote:> > I'm displaying a blog, and each blog title is in a div with a class of
 > > "title" (<div class="title">Blog Title</div>)
 >
 > Why? Surely they are headings? h2 seems most likely after a quick look.
 
 Well, I actually set everything from font size to weight so it won't
 really matter anyways if it's div or h2...
 
 >
 > > div.title { font-weight: bold; font-size: 14pt;
 >
 > Points are a paper measurement. They are mostly meaningless on screen.
 > Plus IE users won't be able to resize the text. Use % or em.
 
 I'll keep that in mind, thanks.
 
 >
 > > Now, I have more than one of these entries evidently, but for some
 > > goddamed reason, the first one refuses to display the background color
 > > and borders, and the second one does it intermittently (if I select the
 > > text, sometimes they dissapear).
 >
 > Hmmm...the peekaboo bug[1] is the only one that springs to mind, but
 > generally it's the text that would disappear, not the border and
 > background.
 
 Well well, following different links almost at random (just kidding) I
 ended up on a page that said most bugs are fixed using position:
 relative ... I slapped that into my div and Voilà! bug is gone.
 Ref: http://www.communitymx.com/content/article.cfm?cid=C37E0
 
 >
 > > The weirdest thing is, firefox displays it properly, but IE messes it
 > > up.
 >
 > And we're surprised about this because...? ;-)
 
 Right.
 
 >
 > [1] http://www.positioniseverything.net/explorer/peekaboo.html
 >
 > --
 > Mark Parnell
 > http://clarkecomputers.com.au
 > alt.html FAQ :: http://html-faq.com/
 
 Thanks for the info Mark, it's very much appreciated!
  Navigation: [Reply to this message] |