473,321 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Problem Aligning Search Form Field in IE

Hello,

I'm having a CSS positioning problem and hope someone can help me out please?

If you take a look at this test page:
http://www.greenflagaward.org.uk/home/beta

In Safari 3.0 and Firefox 2.0 on the Mac, the header links for
'Sitemap' and Text Only' align perfectly next to the Keyword Search
box. But I've just checked it out in IE6 (I don't have IE7 installed
on the PC so don't know about that) and found that the Search box is
aligned to the top of the page rather than next to the 'Sitemap' and
'Text Only' links.

I'd appreciate any ideas on how to remedy this please?

Thanks in advance,

Paul

Dec 24 '07 #1
3 3135
Your rule: #header_links ul { } might be the problem. (why define a rule
with an empty declaration block?) It's possible that IE has a different
default for ul margins and/or padding than does the rest of the group. Try
defining margins or padding for that selector, and see what happens.

Good luck,
Edward Hass

"Paul" <pa**@nospamplease.comwrote in message
news:47***********************@news.zen.co.uk...
Hello,

I'm having a CSS positioning problem and hope someone can help me out
please?

If you take a look at this test page:
http://www.greenflagaward.org.uk/home/beta

In Safari 3.0 and Firefox 2.0 on the Mac, the header links for 'Sitemap'
and Text Only' align perfectly next to the Keyword Search box. But I've
just checked it out in IE6 (I don't have IE7 installed on the PC so don't
know about that) and found that the Search box is aligned to the top of
the page rather than next to the 'Sitemap' and 'Text Only' links.

I'd appreciate any ideas on how to remedy this please?

Thanks in advance,

Paul

Dec 24 '07 #2
Hi Edward,

Thanks for the reply.

I've just removed that empty declaration (it was there from when I did
have parameters in there and forgot to delete it) but that didn't seem
to be the issue as the search box is still flush against the top of the
page (and strangely, I have a bit horizontal scroll bar too, which was
also there before I removed this declaration.

Do you have any more ideas?

Thanks,

Paul

On 2007-12-24 12:42:59 +0000, "Edward Hass" <ne*******@magiciandb.comsaid:
Your rule: #header_links ul { } might be the problem. (why define a rule
with an empty declaration block?) It's possible that IE has a different
default for ul margins and/or padding than does the rest of the group. Try
defining margins or padding for that selector, and see what happens.

Good luck,
Edward Hass

"Paul" <pa**@nospamplease.comwrote in message
news:47***********************@news.zen.co.uk...
>Hello,

I'm having a CSS positioning problem and hope someone can help me out
please?

If you take a look at this test page:
http://www.greenflagaward.org.uk/home/beta

In Safari 3.0 and Firefox 2.0 on the Mac, the header links for 'Sitemap'
and Text Only' align perfectly next to the Keyword Search box. But I've
just checked it out in IE6 (I don't have IE7 installed on the PC so don't
know about that) and found that the Search box is aligned to the top of
the page rather than next to the 'Sitemap' and 'Text Only' links.

I'd appreciate any ideas on how to remedy this please?

Thanks in advance,

Paul

Dec 24 '07 #3
On Dec 24, 5:34*pm, Paul <p...@nospamplease.comwrote:
Hi Edward,

Thanks for the reply.

I've just removed that empty declaration (it was there from when I did
have parameters in there and forgot to delete it) but that didn't seem
to be the issue as the search box is still flush against the top of the
page (and strangely, I have a bit horizontal scroll bar too, which was
also there before I removed this declaration.

Do you have any more ideas?

Thanks,

Paul

On 2007-12-24 12:42:59 +0000, "Edward Hass" <newsac...@magiciandb.comsaid:
Your rule: #header_links ul { } might be the problem. *(why define a rule
with an empty declaration block?) *It's possible that IE has a different
default for ul margins and/or padding than does the rest of the group. *Try
defining margins or padding for that selector, and see what happens.
Good luck,
Edward Hass
"Paul" <p...@nospamplease.comwrote in message
news:47***********************@news.zen.co.uk...
Hello,
I'm having a CSS positioning problem and hope someone can help me out
please?
If you take a look at this test page:
http://www.greenflagaward.org.uk/home/beta
In Safari 3.0 and Firefox 2.0 on the Mac, the header links for 'Sitemap'
and Text Only' align perfectly next to the Keyword Search box. *But I've
just checked it out in IE6 (I don't have IE7 installed on the PC so don't
know about that) and found that the Search box is aligned to the top of
the page rather than next to the 'Sitemap' and 'Text Only' links.
I'd appreciate any ideas on how to remedy this please?
Thanks in advance,
Paul
Paul,

Like Edward told you
"IE has a different
default [values] for ul margins and/or padding than does the rest of
the group. Try
defining margins or padding for that selector, and see what happens. "
I believe you should investigate closely this margin and padding for
list and list items. I recommend

Consistent List Indentation
http://developer.mozilla.org/en/docs...ion#Conclusion

Regards, Gérard
Dec 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Shaun Fleming | last post by:
I've been trying to make this simple script compatible across various browsers. It works for IE 6.0 and NS 7 but doesnt work with Opera (I have version 7.11). This is what is supposed to happen:...
9
by: Christopher Koh | last post by:
I will make a form which will search the database (just like google interface) that will look/match for the exact name in the records of a given fieldname. Any suggestions on how to make the code?
2
by: Sara | last post by:
The problem: Conditional formatting bold, red when field Value < date() sets the field background to white - always - whether condition is met or not. I want the field unfilled and just red/bold...
8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
4
by: aamirghanchi | last post by:
Hi, I am hoping if there is a kludge in IE6 to make the textbox align with the top label. It aligns perfectly fine in Opera and in Netscape/Firefox to some extent. Thanks. <style>...
10
by: jonathan184 | last post by:
Hi I tried getting this to work through dreamweaver but it did not. So i found a n example on the internet , i followed everything exactly the search script does not work. Could somebody help me...
1
by: russot00 | last post by:
I have 3 drop down menus that are used in a search to locate restaurants in a db. All of the drop down menus function, a search can be submitted with any combination of drop downs and the results are...
2
by: swethak | last post by:
hi , i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.