hi
im am trying to make a soccer stadium with a table and some buttons :
<html>
<head>
<link rel="stylesheet" type="text/css"
href="h:diverse/stadion.css" />
</head>
<body>
<br><br><br><br>
<form name="select_stadion">
<table border ="1">
<tr>
<td></td>
<td><input type=submit value="" class="long"></td>
</tr>
<tr>
<td>
<input type=submit value="" class="short"></td>
<p></p>
<td align="center"><input type=submit value="" class="field"></td>
<td></td>
<td ><input type=submit value="" class="short"></td>
</tr>
<tr>
<td></td>
<td><input type=submit value="" class="long"></td>
</tr>
</table>
</body>
</html>
I am trying to adjust the buttons with css. I can set the width of the
button but not the length, what am i doing wrong ?
CSS :
..short{
background-color: brown;
color:brown;
length: 50;
width: 80;
}
..long{
background-color: brown;
width: 80;
length:130;
}
..field{
background-color: green;
length:120;
width: 80;
} 6 4387
On 20 Aug 2003 06:29:23 -0700, ti**********@hotmail.com wrote: I am trying to adjust the buttons with css. I can set the width of the button but not the length, what am i doing wrong ?
CSS :
.short{ background-color: brown; color:brown; length: 50; width: 80;
Generally speaking it is better to supply a URL rather than include a
listing of HTML/CSS, as that makes it easier to track down problems.
However in this case the following immediately leaps out:
- you haven't provided units for your measurements;
- length is not a CSS property;
- brown is not a standard colour keyword.
- having background-color and color the same is not generally very
useful.
Time to make friends with the CSS validator: http://jigsaw.w3.org/css-validator/validator-uri.html
I have a page on CSS buttons that you may find helpful: http://www.xs4all.nl/~sbpoley/webmat...ssbuttons.html
--
Stephen Poley http://www.xs4all.nl/~sbpoley/webmatters/ ti**********@hotmail.com wrote: .short{ background-color: brown; color:brown; length: 50; width: 80;
}
50 what? Miles? Light years? Nanometers? Non-zero lengths in CSS must
always have a unit.
There's no CSS property length.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Stan Brown wrote: In article <em********************************@4ax.com> in comp.infosystems.www.authoring.stylesheets, Stephen Poley <sb*****@xs4all.nl> wrote:- brown is not a standard colour keyword.
True. This weekend I tried "brown" in a stylesheet, and Mozilla rendered it just fine, roughly #963 I think. I bopped on over to the W3C site to find the official definition of "brown", and was surprised to see that it's not standard.
Some browsers support the X11 colors even though they are non-standard.
"brown" is in this group. One article on the subject:
<URL:http://www.daft.com/~rab/x11-colors.html>
--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read. ti**********@hotmail.com wrote: im am trying to make a soccer stadium with a table and some buttons : ...
Are you working at Wembley?
/sorry: couldn't resist - I note your issues have been addressed by others.
--
William Tasso - http://WilliamTasso.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ralph Freshour |
last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP?
Thanks...
|
by: Bob Lehmann |
last post by:
Hi,
I pretty sure I've seen this problem addressed before, but I can't find any
references.
The short story is that I have I have multiple submit buttons on a page,
each providing different...
|
by: Aravind |
last post by:
Hi folks.
I have a form, frmHistory, which has 4 command buttons: Sort Title
(cmdSortTitle), Sort Name (cmdSortName), Due Today (cmdDueToday), and
Due List (cmdDueList).
Sort Title and Sort...
|
by: Lyn |
last post by:
Hi,
I hope someone can help.
I have a main form which mostly fills the Access window. In the bottom half
of this form I have a tab control to display various types of data related
to the main...
|
by: Denburt |
last post by:
This code is for a Toggle Button layout on a form, with this code you can set a number of toggle buttons visible and have multiple submenus that will stay hidden when not in use. My main menu is set...
| |
by: Ron |
last post by:
I want to create 10 buttons on a form at runtime, the code below is
only creating one button labeled 1. Any idea what I am doing wrong?
Public Class Form1
Public code(10) As String
Public...
|
by: Ron |
last post by:
Can anyone help me out? I am trying to add buttons numbered one
through 10 at runtime to a form.
I think they are getting added but they seem to be getting stacked one
on top of each other. so...
|
by: dpazza |
last post by:
Hi,
I'm creating a quiz on using a form in VB 2005 express.
I have four sets of questions and answers (labels and radio buttons)
and I change between which set of questions is currently shown on...
|
by: Blasting Cap |
last post by:
I have a page that has a number of radio buttons that will be displayed
to different access levels of a user who logs in to my website.
For instance, if there are a dozen buttons, user1 will see...
|
by: remya1000 |
last post by:
hai i'm using Vb.net.
i'm creating 64 dynamic created buttons of 8 rows and 8 columns. And i have 1 Go button, 1 textbox. those were created dynamically. if i enter one number inside textbox and...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |