473,554 Members | 4,762 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.
4
22,157
thread by: aashen | last post Jan 12 '08 by: garrow
I'm building a new site and using the Lightbox2 photo gallery(http://www.huddletogether.com/projects/lightbox2/). I have several images...each open up their own gallery. I was having a problem with my cells increasing in height when applying the galleries to the image source. A forum member from Lightbox suggested using <div...
7
22,034
thread by: Claude Schneegans | last post Jul 21 '05 by: Claude Schneegans
Hi, In the following code: <UL STYLE="border: 2px solid #F00000;"> <LI STYLE="border: 1px solid #00F000;">item 1</LI> <LI STYLE="border: 1px solid #00F000;">item 2</LI> <LI STYLE="border: 1px solid #00F000;">item 3</LI> </UL> The red border clearly surounds the whole list, including the LI
3
22,006
thread by: Timmy | last post Nov 9 '05 by: Martin Eyles
For some reason IE6 does inserts a minimum default height of a div. I'm trying to set a height:1px; which works fine on Mozilla. Does anyone know how to get IE to display the same 1px div height? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> ..spacer { height:1px; background: lime;
3
22,000
thread by: hug | last post Aug 24 '06 by: Chris Morris
The valid character set for the ID= attribute of html tags is listed here (http://www.htmlhelp.com/reference/html40/attrs.html) but I am having difficulty finding the maximum allowable length of the id string. ? tia. -- http://www.ren-prod-inc.com/hug_soft/store.php?action=contact
14
21,987
pradeepjain
thread by: pradeepjain | last post Feb 4 '10 by: Catz
Hii guys i want to print a page in an A5 size page ! it has to be done using print.css and what are the parameters for the A5 size page ! any help on this!
0
21,948
thread by: vinaybachu | last post Jan 7 '17 by: vinaybachu
I am trying to display data based on selection in drop-down but i am unable to retrieve entire data. <!DOCTYPE html> <html> <head> <title>URLs</title> <style> table, th, td { border: 0.5px solid black; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script> function change(that)...
7
21,936
thread by: JohnBirch | last post Oct 10 '06 by: JohnBirch
I am new to CSS and have spent many unsuccessful hours trying to find a way to remove the space above the beginning of a paragraph. What I want to do is to have a bold heading <H3> in 12pt followed immediately on the next line by text in normal 10pt. I'm sure there is a simple answer that escapes me but how do I do it?
14
21,899
thread by: Zenobia | last post Jul 20 '05 by: Zenobia
Hello folks, Is it possible to position an item within a <td> element? For instance see below. The table has multiple rows, one for each database record. Each row has 3 hrefs associated with it (for edit, delete and update). I want to position these 3 href items in the same columns, which would be posible if the span could be positioned -...
3
21,860
thread by: Felipe | last post Jul 14 '06 by: Felipe
I am very new at all of this. I bought my domain a few months ago, and I'm running apache 2.2.2 Win32 on my home computer. My site is at http://www.fulloffacts.com/. My site is still new, as I'm still learning about Xhtml 1.0 and CSS. I have not changed any of the default settings for Apache except for the directory it serves (it now serves from...
3
21,843
thread by: TycoonUK | last post Jan 25 '07 by: Rob Waaijenberg
Hi, I am wanting to open a popup window (preferably using CSS) where there will be just a border, image and a few words which I can click to links from the images and text. The popup would come when you go over an image and/or words and once you left it, it would go. Is there any information anywhere on the web where it could help me? ...
2
21,802
thread by: webmaker | last post Jul 21 '05 by: webmaker
I have a table that is a menu containing 10 items horizontally. I want it to be able to stretch across the screen sizing itself appropriately. I have each item in a separate table cell and I was hoping I could have the cells spaced evenly-somehow. I tried adding 10% to the CSS, but it is still spacing them strangley. The longer words have...
3
21,747
thread by: slyi | last post Apr 2 '06 by: Carolyn Marenger
Hi All, Does anyone use vml to force the printing of background-colors in IE clients? Or is there a better way. Regards, slyi
12
21,744
thread by: Burton Figg | last post Jul 20 '05 by: Jim Ley
My homepage, www.jimpix.co.uk uses transitional XHTML. The whole thing validates except one line: <noscript><img height="1" width="1" alt="" src="http://u0.extreme-dm.com/0.gif?tag=riggott&amp;j=n" /></noscript> I get this error on this page: http://validator.w3.org/check?uri=http://www.jimpix.co.uk
6
21,732
thread by: Arne | last post Jul 20 '05 by: Brian
Hi, I would like to have a OL list, that is "ordinary" in other aspect except this: Since every <LI> will have more than 2 lines of text, I like to make the first line bold (kind of sub header :-) where I like to have the number bold also. All other lines within the same LI is to be normal text, with the closing </LI> in the end of last...
8
21,717
thread by: DM | last post Jul 24 '05 by: DM
I searched on this topic. Found others who mentioned it, but no solution. I can't seem to get visited links to appear in a different color in Mozilla or Firefox on the PC. It works fine in IE. My CSS is copied below. Any help would be greatly appreciated. Thanks DM
3
21,671
thread by: Monty | last post Jul 20 '05 by: Harlan Messinger
Lets say you've created a css style called .ninetypercent that sets the font size to 90%. Then lets say you want that style to be applies to certain types of textual content (e.g., help text and cross references). Is there a way to have .helptext and .crossreference styles act as aliases of .ninetypercent or do you have to create three...
3
21,640
thread by: finecur | last post Feb 13 '07 by: Jukka K. Korpela
I have a <img scr="mypic.jpg"in my html. I would like to display the image by width=200 if the image width is larger than 200. I also would like to display the image by its real width if the image width is smaller than 200. How can I do it? Thanks, qq
0
21,570
thread by: Dostonbek | last post Jan 29 '18 by: Dostonbek
Hi to all.In css Box-shadow is not working with clip-path. How to solve this problem. Thanks in advanced
5
21,548
thread by: Poonam | last post Jul 20 '05 by: Poonam
Hi Can we align an image or content vertically middle in a DIV. tks poonam
131
21,537
thread by: Peter Foti | last post Jul 20 '05 by: Jonathan Snook
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately get some good real world examples. Fire away! :) Regards, Peter Foti
6
21,468
thread by: vivekian | last post Dec 5 '06 by: RobG
Hi , In one of the javascript functions , i need to get the ids of the elements. This function works in Internet Explorer : var TabNames = ParentTab.childNodes ; for ( i = 0 ; i < TabNames.length ; i++ ) { var TabID = TabNames.getAttribute('id') ;
5
21,417
thread by: luc wastiaux | last post Jul 20 '05 by: Stephen Poley
Hello, I am told I shouldn't use tables for anything but tabular data. I'm looking for a way to correctly align form fields using DIVs. With tables, I would do the following: <TABLE> <FORM> <TR><TD>Field 1:</TD><TD><input type=text></TD></TR> <TR><TD>Field 2:</TD><TD><input type=text></TD></TR> </FORM>
2
21,336
thread by: carramba | last post Jul 20 '05 by: carramba
Hi! is it possible to change "selector" color in drop-down list? <select name="select" style="background-color: #ff0000"> <option style="background-color: #ff0000" value="1">Cony</option> <option style="background-color: #ffffff" value="2">Alex</option> <option style="background-color: #0000ff" value="3">Peter</option> </select>
17
21,296
thread by: kevgibbo | last post Feb 18 '07 by: Jukka K. Korpela
Hi, I'm currently having a problem where a long URL or a line of text with no spaces will break the design of a webpage, http:// blog.seoptimise.com/2007/01/how-to-add-delicious-and-digg-blog- rss.html is an example of this. Does anyone know if it's possible to break this text into multiple lines using CSS?
4
21,275
thread by: Martin Lucas-Smith | last post Jul 20 '05 by: Martin Lucas-Smith
I am wanting to know whether are XHTML1-valid characters for use within an id attribute and/or a name attribute. http://validator.w3.org/check?uri=http://www-thaihydro.geog.cam.ac.uk/riverslice/&ss=1&verbose=1 (e.g. see line 77) suggests that it is valid, but the spec suggests that it is not. More detail:

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.