Solved

<br> getting ignored on this page?

Posted on 2011-03-01
15
212 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Suggested Solutions

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

837 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