Solved

<br> getting ignored on this page?

Posted on 2011-03-01
15
203 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
  • 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now