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



 
Post new topic   Reply to topic    Web Design Forums -> HTML 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
Koplaf



Joined: 28 May 2006
Posts: 130
Ok i admit it, i'm a noob
  Reply with quote


autos06



Joined: 13 May 2006
Posts: 123
Location: New York
You are if you're using <div> to apply a font setting
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
I got another question to ask though :)
  Reply with quote
Jackil



Joined: 24 May 2006
Posts: 97
If you can't understand the techie details... you really shouldn't be asking the question
  Reply with quote
ovigo22



Joined: 15 May 2006
Posts: 130
Admitting it is the first step to recovery
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
About wrapping.... say i have some text: <p class="bodytext"> Hello my name <img src="blah"/>is mike the pig </p>
I got my image bang in the middle of the text... i want the text to wrap round the image
Like text in a newspaper column with an image sitting in it
In css... i have a <span class="captiontable"> <table> <tr> </tr> </table> </span> and in the style sheet i have .captiontable table {...} but how do i get access to the tr?
  Reply with quote
PaulKolin



Joined: 25 May 2006
Posts: 108
Lol same way
.captiontable table tr
Which is rather gay
  Reply with quote
Page 1 of 1
Post new topic   Reply to topic    Web Design Forums -> HTML 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