redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

css behaviour in IE and FF


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Web Design Forums -> CSS forum
View previous topic :: View next topic  
Author Message
Koplaf



Joined: 28 May 2006
Posts: 130
<p class="bodytext"> Hello my name is <div class="big">mike</div> the pig </p>
Is there any reason why "the pig" should lose its styling as "bodytext" ?
Cause thats what seems to happen in IE and firefox
  Reply with quote


ovigo22



Joined: 15 May 2006
Posts: 130
Why are you using a div? use span
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
Ah ok
That solves it
Wish i knew why though heeh
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
Koplaf: <DIV> normally creates a line break, if you are just creating a font style, use <SPAN>
  Reply with quote
Jackil



Joined: 24 May 2006
Posts: 97
Div is rendered as block, span is rendered as inline
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
Ohh ok
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
Div is a block lev- nevermind
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
No sense in confusing him with the techie details
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
Hey!
I aint no noob :)
  Reply with quote
Jackil



Joined: 24 May 2006
Posts: 97
:)
  Reply with quote
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Web Design Forums -> CSS forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group