Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to share free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-2007, 04:48 PM
Junior Member
 
Join Date: May 2007
Posts: 1
nacl webmistress is on a distinguished road
Red face Having Trouble w/Charity Template

Hi folks - hopefully someone out there can help me!

I'm using the Charity template (which I've modified a bit) and it's the perfect format for our agency - we're really happy with it!

I just have a couple of problems that are perplexing me - I'm a real newbie to CSS, and for some reason, the site looks exactly as I want it in IE, but not in Firefox. It had been "almost" perfect in both browsers, but I was having a problem with the main body "box" of the site not being centered - it was always skewed to the left of the browser screen, while the header was centered.

So I played with individual files, and I did something that worked for IE to make the body box line up vertically with the header (in the center of the screen), but it now doesn't look as good in Firefox (the background is all the back layer of green now instead of being in the grey-ish box).

What I'd done to make this happen is this:

<center>
<div id="content"></center>

If I take that away, the body box looks fine in both browsers but it's skewed to the left of the browser screen - I want it to line up centered under the header.

Any ideas on what I'm doing wrong? I'm not sure if it's the CSS file I should be playing with instead of the individual HTML files?

The second problem is, I can't figure out how to modify the CSS so that unordered lists display the way I'd like. Right now, bullets either don't display or go outside the paragraph, depending on the browser (I've had to manually put in dashes at the beginning of each point), and the "paragraph wrap" that usually happens in unordered lists isn't working (i.e. it doesn't automatically indent so the second line of text goes right under the first - it goes flush with the left margin, maybe because the bullet structure doesn't indent in the unordered list).

I'm not sure if I need to make these modifications in the CSS file (I'm guessing so) - but I'm kind of scared to touch it in case I screw something up!

Here's the URL if anyone wants to take a look:

http://www.nanaimoacl.com

Thanks in advance for any help/advice!

Cheers...NACL Webmistress
Reply With Quote
  #2 (permalink)  
Old 01-10-2008, 10:37 AM
Junior Member
 
Join Date: Jan 2008
Posts: 1
goliaththegiant is on a distinguished road
Default Hey

If you still need help with this template please feel free to email me the full question and I will be gladly to help you out.

Thanks

Ryan M
support@iftkcs.com
Reply With Quote
  #3 (permalink)  
Old 01-11-2008, 01:50 AM
eVentureBiz's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Las Vegas, NV, USA
Posts: 292
eVentureBiz is on a distinguished road
Default

Hello nacl webmistress. I took a look at your code and css file. To fix the problem with FireFox you should do the following:

Move your </center> tag that you added to the very end of your document. Place it just above </body>.

That should clear up the alignment problem.

As for the bullets, I haven't looked into that just yet. If I figure it out, I'll let you know.
__________________
John - ceo and founder of eVentureBiz



Want to start a blog? Let me help you. Start by reading my article:
Start A Blog: Free or Paid? WordPress or Blogger?

Reply With Quote
  #4 (permalink)  
Old 01-11-2008, 03:05 AM
eVentureBiz's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Las Vegas, NV, USA
Posts: 292
eVentureBiz is on a distinguished road
Default

Ok, I think I've fixed the bullet problem.

First, you need to add the following code to your css file:

#content ul li
{
margin-left: 10px;
list-style: inside square;
text-align:left;
}


Second, to get it all to line up on your page, put the list in a table. Use the following table code:

<table id="table3" width="100%">
<tr>
<td align="left">
<ul>
<li>NACL's 2007 </li>
<li>Next Line</li>
<li>Line 3</li>
<li>Line 4</li>
</ul>
</td>
</tr>
</table>


Also, I noticed on your Fun Links page you'll need to rearrange a few things:

1. for line: <div id="content"></div></center> -- you must remove the </div> and </center>

2. put the </center> at the bottom just above </body> (just like my previous post says).

3. at the bottom, remove the <center> from just above <div id="footer"> and replace it with </div>

4. remove </div></center> from the <div id="footer"> tag

5. add two <div> tags just above </body>


Ok, so in other words, the bottom of your page's code should look as follows:

</div>
<div id="footerline"></div>

</div>
<div id="footer">Copyright © 2007 NACL. All rights reserved.
</div>

</div>

</center>
</body>
</html>


Finally, please make sure to make copies of your files BEFORE you edit them as I propose . . . just in case, you know.

I hope this works for you. Please let me know, I'm curious.
Best wishes,
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:45 AM.



mouseover mouseover mouseover