473,382 Members | 1,302 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,382 software developers and data experts.

Simple table

I am trying to build a header to each page:

<div class='header'>
<h5>HEADER</h5>
<span><select><option>Drop Down Nav</option></select><submit></span>
</div>

It looks good in IE but is messed up in firefox. The Header is white but
it is not showing up on the blue box. Also the submit button does not
line up with the drop down box very well in firefox (but again is fine
in IE). Here is what I am using:

This is suppose to create a blue box with a grey background

form div.header {
width: 100%;
border: 2px solid #999999;
background-color: #003366;
}

The drop down nav is on the right side of the box

form div.header span {
float: right;
padding: .7% 2px 0px 0px;
font-size: 80%;
}

The button to click next to the drop down menu

form div.header input.navSubmit {
padding: .7% 2px 0px 0px;
font-size: 82%;
font-weight: bold;
width: auto;
padding: 0px;
margin: 0px 2px;
background-color: #cccccc;
color: #000000;
}

The header

h5 {
font-family: arial, verdana, sans-serif;
font-size: 140%;
font-weight: bold;
color: #FFFFFF;
margin: 0px;
padding: 4px 4px;
letter-spacing: 4px;
float: left;
}

Any help in cleaning this up would be appreciated.

- CSS NEWBIE
Aug 28 '05 #1
1 1287
Dave Thomas schreef:
I am trying to build a header to each page:

<div class='header'>
<h5>HEADER</h5>
<span><select><option>Drop Down Nav</option></select><submit></span>
</div>
~snip~
Any help in cleaning this up would be appreciated.

- CSS NEWBIE


Can you post an URL?

--
Niek
Aug 29 '05 #2

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

Similar topics

0
by: Frank Millman | last post by:
Hi all From time to time there is a request for a simple way of storing and accessing data without using a full SQL database. I had this requirement recently, and I was pleasantly surprised by...
0
by: unixman | last post by:
As usual, it is 2:00am, and I'm pulling my hair out, finally resorting to posting in the newsgroups for help. :) Simple problem, in theory. Given table "map": CREATE TABLE map ( entry_id...
0
by: unixman | last post by:
As usual, it is 2:00am, and I'm pulling my hair out, finally resorting to posting in the newsgroups for help. :) Simple problem, in theory. Given table "map": CREATE TABLE map ( entry_id...
2
by: news reader | last post by:
Hi, Does anoone of you know if there is already a simple application doing something like this. I would enhance / tune the missing features, but would like to avoid to start from scratch or...
24
by: firstcustomer | last post by:
Hi, Firstly, I know NOTHING about Javascript I'm afraid, so I'm hoping that someone will be able to point me to a ready-made solution to my problem! A friend of mine (honest!) is wanting to...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.