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_st adion">
<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 4396
On 20 Aug 2003 06:29:23 -0700, ti**********@ho tmail.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**********@ho tmail.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.infosystem s.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**********@ho tmail.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 functionality. For example, I have a search option,
a log in option and a save text option.
I would like to handle the submits in the Click event of each button. the
|
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 Name uses VBA code, and sorts the form either
ascending or descending, by title and by name respectively.
Due Today and Due List uses macros, and filters the form to display
|
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 form record. In each page of the tab control, there are three
buttons: Add, Update, Delete. Any of these buttons will open another,
smaller form to add, update or delete the related data record.
Originally, I had placed the smaller form such...
|
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 up with this code and the way I set it up the first button is my search toggle button no submenu (this prevents a submenu from displaying when the form is first opened) TabIndex set to 0 (I like using the keyboard) the second toggle button is called...
| |
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 buttons(10) As Button
Const buttonwh As Integer = 30
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
|
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 I only see 1, and not the others.
here is what I am doing can anyone tell me what I am doing wrong?
Public Class Form1
Public buttons(9) As Button
|
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 the
form by changing the visible state of the radio buttons and labels
utilising back and next buttons.
E.g. Next button makes current radio buttons and labels invisible and
|
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 all twelve.
User2 would see buttons 1-3,10-12 and NOT any others, and so on.
Since there are several buttons on the page (each one would run a report
for them), is there a way to - in an onclick event for each of the
buttons - to...
|
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 hit Go Button, then it checks corresponding Database and display buttons on page. and inside Database i have a field called Item, that tells the button number to display.
for eg: if Database1 contain items 0,10,20,50. then i need to display...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |