?
Solved

<br> getting ignored on this page?

Posted on 2011-03-01
15
Medium Priority
?
232 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
Technology Partners: 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

770 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