Solved

<br> getting ignored on this page?

Posted on 2011-03-01
15
220 Views
Last Modified: 2012-05-11
http://www.eyelasikaustin.com/office-policies/

Notice tihis line:     * For more information visit the IRS website




What do I do now?

When I vew it it looks like in FF the <br > is getting ignored.
0
Comment
Question by:jbrashear72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 6
15 Comments
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35010785
You do not have a doctype defines appropriately.  Not sure if this is causing your issue, but try one of these.  If you are not using propper XHTML then use the transitional one...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 35011005
I tried both.. its just that one line after the UL.
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35011043
oh, I just noticed you have your li set up with float: left;  This is your problem.  It's in your reset.css file.  Remove this and your <br/>s will show up.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:jbrashear72
ID: 35011529
I need that for the nav menu. how do I get around that?
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35011591
use the class that the menu is in instead.

so like this:

.navigation ul li
{
float: left;
}

this specifies only to float the ones in the navigation menu, since the div they are in has a class of navigation.  This will leave all the other lists unaffected.
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 35011661
hmm that breaks the menu.
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35011668
how so?
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 35011679
When I added:
.navigation ul li
{
float: left;
} and removed the line from reset.css the menu dropped to a list.
0
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
ID: 35011690
oooh, it looks like you already have a declaration in your stylesheet.css

#content .navigation ul li
{
list-style: none outside none;
padding: 0 0 0 10px;
}

so add float:left to the above and delete it in the li declaration you had...
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 35011860
that did it! Yes thank you so much for your help. Can you help me add a drop down to the proceedures link off the nav? we can close this out and I can link to a new one.
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35011881
talking about a sub-menu?  I'd definitely start a new one.  I have not done that with css.  I actually use a bastardized version of what dreamweaver puts in.  It's not very simple and uses a lot of javascript.  I know there are cleaner solutions that people have with just css, so you might have better luck with posting for one of them to help out.  Some day I'll spend the time to implement their solutions as well.  LOL
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35011895
glad we got it working! :)
0
 
LVL 3

Author Comment

by:jbrashear72
ID: 35012285
Hey man it broke the footer list.
I tried to correct the footer list on line 224 of styles.css but it is ignoring it.
I had to put the reset back. any ideas?
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35012314
what part did it break?  What's it doing?
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35012333
You have this:
#footer ul {
  color: #7D8083;
  float: left;
  font-size: 11px;
}

But you'll also need:

#footer ul li
{
float: left;
}

let me know if it's still broken after that...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question