This is a discussion on "Padding and margin for template does not work anymore" within the Web Page Design section. This forum, and the thread "Padding and margin for template does not work anymore are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Padding and margin for template does not work anymore
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Padding and margin for template does not work anymore
Hi. I had a website where I used padding and margin as 0 for my css to make both the top and bottom equal with the page (otherwise there would be white space between the template and the browser).
I'm trying to use it again, but it won't work, and I've used the exact same method.
http://www.ruthlessintent.com/Final |
|
|
|
#2
|
||||
|
||||
|
Re: Padding and margin for template does not work anymore
I don't see what the problem is but I must add that your site takes ages to load.
Do you have to use so many images?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
Sorry forgot to mention that. I'm not bothered about site optimisation as it's just for a college assignment so I do not need to improve the load time.
If you mean you don't see what I mean: At the top and bottom of the template, you can see black space between the edge of the template and the browser yes? Usually when I use the CSS code I posted it would remove that and make the page hug the template. |
|
#4
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
Is this an ie7 issue as i have looked on ie6 and ff and it seems fine.
|
|
#5
|
||||
|
||||
|
Re: Padding and margin for template does not work anymore
nope its not ie7 either, looks fine there too
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
#6
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
This is probably caused by the table you're using for your entire page, which is crap by the way! Remove the table and use divs instead.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#7
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
I'm not really seeing a black edge either. Maybe if I squinted really hard I might see a 1px black edge on the top and bottom. Is that what you mean? Otherwise if not, I'd say you need to refresh your browser and clear your cache.
|
|
#8
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
Thanks for looking everybody, and as I said this was a rush job to see who could make a nice looking template quickly, not optimise it and such!!
Anyway, it's not that bad I agree but I am a bit of a picky one. It's about 2px above and below the template, kind of like a border. I just kinda want it gone because it disrupts the flow of the template, the two silver borders are supposed to be full browser size so it makes them look cut off. Here is what I mean: www.ruthlessintent.com/dk.JPG |
|
#9
|
||||
|
||||
|
Re: Padding and margin for template does not work anymore
I think the issue is that you are using a combination of tables and divs. this adds some 'space' (about 2px) to the top of your site. you will need to decide what you want to use.
the other option would be to add
__________________
WelshStew If you think I've helped, click the "Thanks" tierney rides tboard - uk site | xtreme wales - extreme clothing WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Last edited by welshstew; Nov 29th, 2007 at 12:54. |
|
#10
|
|||
|
|||
|
Re: Padding and margin for template does not work anymore
Thanks I'll try.
|
|
#11
|
||||
|
||||
|
Re: Padding and margin for template does not work anymore
You really need to check your website in FF 2.0.010 it's completely messed up. The content is shifted to the left by quite far. If you like, i can post a Screenshot?
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php login page was working but is not anymore? | bonnit | PHP Forum | 6 | May 26th, 2008 05:16 |
| [SOLVED] margin and padding in different browsers | danny322 | Web Page Design | 12 | Jan 30th, 2008 13:12 |
| [SOLVED] Padding and Margin | mcdanielnc89 | Web Page Design | 5 | Dec 24th, 2007 23:58 |
| Strange Padding/Margin | MaxCurrent | Web Page Design | 2 | Jul 24th, 2007 10:36 |
| Align prob (padding? margin?) | m1k3 | Web Page Design | 5 | Jun 13th, 2006 16:02 |