I'm having issues getting things to align and I just can't find the mistake.
I want my header and menu from the home page (Gsld.net/civic2/index.html) to be the same place on my project page (gsld.net/civic2/civic2.html). I've been trying for hours oflline since my last upload and I can't get it to work. I tried copyig code from the home page and it doesn't help. The orange line and header is slightly lower on that page and the menu is higher. I can't find the error.
Please Help
thanks
The ones I am pointing to on the Civic page should have nothing to do with your styles...
<div id="apDiv2">Gary Steffy Lighting Design Inc. | GSLD™</div>
<div class="container">
<p>& n b s p ;</p>
<div class="header">
to
<div id="apDiv2">Gary Steffy Lighting Design Inc. | GSLD™</div>
<div class="container">
<div class="header">
webnewbie1284 wrote:
I want the Civic to look like the Home page, so I need to ad the NBSP, is that what you are saying? Is there a way to define nbsp height?, because when I add one to Civi it's much bigger line space, that the one in home.
It's controlled by the actual <p> tag, not the non breaking space character.. Also, don't forget to fix your title location as I mentioned above, that has the potential to throw browsers out of wack pretty easily.
Best advice, put all your styles into one external style sheet and link all your HTML pages to that CSS file. This will keep your page styles consistent throughout so you'll have fewer problems like this in the future.
Home page styles are not the same as Civic page styles. Open the code and compare styles in #APDiv2.
Nancy O.
I cleaned up the CSS, glad I did it, but didn't really fix my problem.
I think my problem is that my <p> tags have differnt stlyings. I don't know if the supersized jquery defined it and that is why its creating a smaller space than when I put a <p> tag in my Civic page it give me a huge gigantic space.
Do you know the default on the <p> tag.
Nancy O. wrote:
Don't postpone organizing your site's stylesheets either 'cuz this will come back to haunt you.
Over and over and over...
I remember the days before I started using a single external stylesheet for my site layout. I will never go back. It helps in a big way when all of your styles are in one place. You really start to notice the redundancy and are able to make much lighter code in the long run.
Plus you only have one thing to change if you decide that you want to make your gold headers green at a later date, for example. Rather than scrolling through each page to find where the code is, you open your external file, change it once and you're done.
File > New > Blank page > CSS.
Copy & paste all your relevant CSS code into this new file and SaveAs GSStyles.css (or whatever name you wish).
Link all your HTML pages to your new CSS file.
See link below for details.
http://alt-web.com/DEMOS/DW-Link-Stylesheet.shtml
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific