5 replies [Last post]
richclever
Offline
newbie
Last seen: 13 years 35 weeks ago
Joined: 2006-10-17
Posts: 9
Points: 0

Hi, I have a couple of small forms in my header but can't get them to position exactly where I want them. Have a look at http://ictechnology.net/holibobs and you will see they are flush with the top of the space where I want them 1 or 2 pixels below in the middle of the white area.

Also, has anyone come across a method to change the height of the select box in IE? It doesn't seem to work in IE6 or 7 and I would like it to be that little bit bigger. Looks great in FF apart from the positioning.

Thanks,
Richard

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 20 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Float the forms rather than

Float the forms rather than making them display: inline and you'll be able to give them margins to move them down.

To answer your second question: no, there's not very much you can when it comes to styling selects x-browser and particularly in IE.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

richclever
Offline
newbie
Last seen: 13 years 35 weeks ago
Joined: 2006-10-17
Posts: 9
Points: 0

Thanks for that, seems to be

Thanks for that, seems to be sorted pretty much now as I've been playing around with it. But, IE6 is doing some odd things

richclever
Offline
newbie
Last seen: 13 years 35 weeks ago
Joined: 2006-10-17
Posts: 9
Points: 0

Sorted all my problems out

Sorted all my problems out now.

Weird thing was that IE6 wouldn't accept background-image: url(imageurl) repeat-x;

Anyone else seen this happen before?

Had to change to background: url(imageurl) repeat-x;

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 20 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

That's because this -

That's because this - background-image: url(imageurl) repeat-x - is combining bg-image and bg-repeat. If you're going to specify more than one bg property, you have to use background, otherwise they have to be specified individually.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

richclever
Offline
newbie
Last seen: 13 years 35 weeks ago
Joined: 2006-10-17
Posts: 9
Points: 0

Thanks, Didn't know that,

Thanks,

Didn't know that, makes sense now I think about it I suppose.

You learn something every day.