PDA

View Full Version : CSS stuff


bionic
28-03-07, 13:17
I have been hacking around the CSS for the basic template.

A few things have foxed me. There appears to be a 10px margin around the sw_frame or alternatively a 10px padding on the body. Only thing is that I cannot find either in the CSS. Where was this set, as it is nowhere obvious?

The h3 tag for sw_cats can be resized, bolded etc, but for some reason I cannot apply a color. I did check that the child link tag css for the link was not over-riding my h3 tag and it did not appear to do that.

Also, the height of the hot picks li container needs the be fixed (I think) as every time there is anew line it will not float back past the longest one in the previous line. I have had this problem and it is awkward.

Course, there is always the possibility that some smart cookie out there has sussed this all out :D

ushop-online
28-03-07, 13:19
No it is not set because this is the standard windows padding when no css is set.

If you set the 'body' to -px it will change.

ushop-online
28-03-07, 13:20
The Hot Picks problem is being looked at by AW -- see my post on this subject.
http://www.shopwindowforum.com/showthread.php?t=25

bionic
29-03-07, 18:39
No it is not set because this is the standard windows padding when no css is set.

Ooh missed that... I am so used to starting a styesheet with default stuff like margin=0 and padding=0, I forgot to change this, doh! :)