Solved

<br> getting ignored on this page?

Posted on 2011-03-01
15
186 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
 
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Box Model and Styling 12 21
Wordpress CSS Link Issue 2 17
Text in block not displaying properly 2 16
Datepicker in PHP 9 14
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
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 how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 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

20 Experts available now in Live!

Get 1:1 Help Now