473,554 Members | 3,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML / CSS Forum

HTML and CSS (Cascading Style Sheets) web markup languages - Ask questions about html and css development, validation, errors, divs, blocks, tables, design, accessibility, w3c, firefox, ie, safari, tags, attributes, layouts, forms, buttons and more.
6
15,881
thread by: Carla | last post Jul 20 '05 by: Michael Winter
hi people, I have a little problem that I can't solve with css and i was wondering if you could help me. I have 4 links, I want that when I click/mouseover in the link 1, it turns to a color a, then when I click/mouseover over the link 2, it turns to a color b and the link 1 turns to the normal link color again. (an so with the other...
3
15,875
thread by: Rudi Hausmann | last post Feb 8 '07 by: Adrienne Boswell
Hi! How can I make a Div to float over several cells of a table? As an example imagine a chess board as table. Now a rectangle (div) shall lie over 6 fields, for example A2-B4 (A2,A3,A4,B2,B3,B4). How can I do this using HTML and if necessary java script. Thanks Rudi
1
15,860
nirmalsingh
thread by: nirmalsingh | last post Jan 11 '07 by: acoder
how to place controls inside table? i wrote code like <td align=left valign=middle class=formleftheading><inptut type=text value= " + hai" ></td> but it does'nt works
2
15,842
thread by: ssriram | last post Oct 2 '06 by: ssriram
Is there a way to apply style to form field input type="file" (file upload component) If so, how? Thanks, Sunitha Sriram -- ssriram
4
15,830
thread by: HTS | last post Sep 15 '06 by: kestrel
I have written a membership database application (PHP + mySQL) and need to prevent autofill from filling in fields in a member record edit form. I know I can turn off autoFill in my browsers, I want a away to prevent it within the form itself. Is there any standard way to "tell" a browser not to autofill the fields on a particular form?
14
15,828
thread by: Philip Herlihy | last post Jul 21 '05 by: Els
I've been trying to create a simple vertical navigation bar, using (as recommended) an unordered list (UL) of hyperlinks. I'd like to have a hover effect, so I have to style the links themselves. ul.links a:link, ul.links a:visited { color: #FFFFFF; background-color: #000000; } ul.links a:hover, ul.links a:active { color: #FF0000;
5
15,827
thread by: kevinkilroy | last post Aug 21 '06 by: jmonit
Hi, Am pretty new to CSS & Tried to use it...all is fine with IE but when view through firefox it goes horribly wrong. Please help! www.electronicsinthehome.co.uk/webshop/ProductDetail.do?productID=41 Thanks in advance! KK
5
15,782
thread by: Gerry Vandermaesen | last post Apr 5 '06 by: nospam
Hi, I'm trying out the following: CSS .className { width: 30px; height: 30px; border: 1px solid black; }
4
15,769
thread by: Manuel Faux | last post Jul 23 '05 by: Steve Pugh
Hello! I used the "File Upload - Validator" and the result is like the following: Line 13, column 204: there is no attribute "border" ....irefox!" title="Get Firefox!" border="0" /></a></p> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this
4
15,761
thread by: Kona | last post Jul 20 '05 by: Kona
Hello I've created a style for a div that is set to a specific height. My question is that if the content in this div is larger will it resize to fit the new content? Thank you Kona
13
15,754
thread by: michaelp | last post Aug 24 '06 by: Christopher P. Winter
Hello! I am teaching programming, and display code snippets with line numbers for easy reference. If possible, I would like to make these line numbers non-sselectable, so that if students copy my code from the browser, they do not need to manually strip the line numbers to make the code work. Does css have a style to this effect?
2
15,752
thread by: prakash_ntech | last post Jul 21 '05 by: Mark Tranchant
Dear Friends The follwing code works well in IE . ------------------------------------------- <HTML> <body> <TABLE id="tblParent" borderColor="#ccc6b0" cellSpacing="0" height="100%" cellPadding="0" width="100%" border="1"> <TR style="height:50px">
9
15,751
thread by: Per Steffensen | last post Jul 21 '05 by: Michael Fesser
Hi I have the following in my html: <input type="button" value="Short"/> <input type="button" value="Very long text on this button"/> It gives two buttons on the html form. My problem is that in IE the length, from where the text on the botton starts/ends (horisontally) to the border of the button, depends on the length of the text on...
1
15,746
thread by: javakid | last post Mar 9 '07 by: AricC
I have no. of images aligned below one another , how can i display text description on its right when I move mouse over the particualr image. Thanks
5
15,720
thread by: beary | last post Jun 22 '09 by: beary
Hi, I have a 314 x 190 png which I want displayed basically halfway between the end of some form fields and the side of the #wrapper. So I put it in a div <div style='position:absolute;left:45%;top:50%;'> <img src=images/front1.png border=0> </div> which looks great on res 1280 x 1024, 1200 x 800, 1200 x 768, 1152 x 864 It's pushed to...
19
15,705
thread by: A.Translator | last post Jul 20 '05 by: Stephen Poley
I have an unordered list as menu and want some space at the bottom, underneath the last <li>. I have tried: setting bottom-margin to ul setting bottom-margin to containing <div> setting padding to ul and <div> and all combinations of the above I could think of. None seems to work.
10
15,681
thread by: Imran | last post Jul 20 '05 by: Christoph Paeper
Hi, I am attempting to create a CSS-driven website, in that I want to be able to control the display/content from the CSS file. I do not want to use tables. On a page, I have a background image (that contains smaller images) and I would like to assign the smaller images as hyperlinks. What is the best way to do this? I know I can use...
7
15,671
thread by: Allie | last post Dec 8 '07 by: Roderik
Here's an example of what I'm trying to do: <table> <tr style="text-align:left; font-size:10pt; font-weight:bold"> <!-- I want this word to align to the left --> ' ||CRPT|| ' <!-- I want this link to align to the right --> <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A> </tr>
3
15,647
thread by: cbjewelz | last post Feb 16 '07 by: AricC
hey I've been suffering from several float problems. I want a Title on the left to be aligned vertically with several links on the right. However with my code the Title is lower than the links. I've tried putting display: inline in every place but to no avail. Here is my code:<style type="text/css"> /* =INITIAL /* Neutralize styling: ...
13
15,643
thread by: deepakp | last post Jul 21 '05 by: Dr John Stockton
Hello, I need to display a summary report as an table, giving the user ability to drilldown on a selected row by clicking on a '+' icon. After viewing drilldown of a particular row, user should be able to hide it back by clicking on '-' icon. It should be able to work in IE 5 or newer in Win2000/XP environment and the need is best...
6
15,638
thread by: Sarah Haff | last post Jul 20 '05 by: Peter Ossmann
Hello All, Is it possible to have alternating color font for DropDown/List box in html? I have an FatClient application written in C, and I am trying to webify it. The application uses alternative color fonts in a dropdown/list box. So I was hoping to do the same for the web application.
3
15,623
thread by: dragon52 | last post Oct 12 '16 by: devcake
Hi, I have the following html and css code bits. <td><span class="familyname">Johnson</span> Pat</td> .familyname:hover { text-decoration: none; text-transform: uppercase; }
2
15,619
thread by: zwylle | last post Jul 20 '05 by: Markus Ernst
Hi all, to avoid a nervous breakdown I finally decided to seek help :D I have a table defined with plain color background and in some cells I show pictures to frame my site. The problem I have occurs for one special cell. The background of this cell is as you can see an image. A text should be displayed on this image. I don't want the...
15
15,592
thread by: fredo | last post Sep 17 '06 by: Trammel
I have in my page: <base href="http://www.simple-nude.com/"> and later want to direct a visitor to, say, http://www.simple-nude.com/today/hippie-goddess/15b.jpg It seems that the link text can read as either of:
19
15,590
thread by: Roger | last post Jul 21 '05 by: Alan J. Flavell
How can I pass parameters to a style sheet? I have noticed a couple of sites are now passing variables to the style sheet, which appear to be substituted at run time. For example: <link rel="stylesheet" type="text/css" href="mystyle.css?color=ffffff"> I have seen references in my temp Internet file directory that indicates this is...

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.