473,554 Members | 2,921 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,244
thread by: Ori | last post Jul 20 '05 by: kchayka
Hi , I'm writing new web application and i wonder if anyone have a nice style which i can apply on my buttons. Thanks, Ori.
2
15,242
thread by: needhelp | last post Jul 20 '05 by: Jim Royal
This one ought to be simple, but I have dug myself deeper and deeper, and gone farther and farther from what I wanted and I'm giving up. And my html that I've written is so bolloxed up now that it's not worth posting. I would like to have two paragraphs, side by side, across the browser window (everything I say here assumes that the...
13
15,212
thread by: matt | last post Sep 14 '06 by: matt
hello, im guessing the answer is "no", but can a webpage set the printer's paper size & layout? trying to spare my intranet users some extra steps. thanks, matt
0
15,181
thread by: Mark Moore | last post Jul 20 '05 by: Mark Moore
I'm trying to layout a couple text input fields and their corresponding labels without using a table. When I was trying to debug my understanding of CSS, I was *very* surprised to see that span's with borders behave counter-intuitively (IMHO) when using style="white-space: nowrap;". Below is a fairly small chunk of XHTML that demonstrates...
4
15,145
thread by: Tony Sutton | last post Jul 20 '05 by: Tony Sutton
I am having problems with figuring out why XHTML 1.0 Validator is complaining with this code: <ul> <li> text</li> <li> text</li> <li> text</li> <li> text</li> <li> text</li> </ul>
2
15,139
thread by: Helen | last post Jul 20 '05 by: Unregistered
As soon as I float anything in a div, it is no longer held within the div anymore. I'd like to be able to float things relative to the element that they are contained in. Is this even possible in CSS? I'm a table based designer from way back, so maybe this is just the wrong approach to CSS. If this isn't actually possible, would someone be...
1
15,092
thread by: metaphysics | last post Nov 17 '07 by: drhowarddrfine
I can't seem to find this anywhere on the web, so I figured I'd post the question here. I'd like to be able to define an image class in CSS to make all posted images black and white. For example, I would use this code if I wanted to change Opcaity of all of them to 50%: img { filter:alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; Is...
3
15,086
thread by: Chamomile | last post Jul 21 '05 by: Chamomile
I've only just come accross this newsgroup, so apologies if I seem to be cross-posting... this may be an old chestnut, but has anyone ever come accross a straightforward way of styling a <select> element? In particular the (always grey?) drop-down button color. (This, and the 'Browse' button on an <input type='file'> seems forever doomed...
11
15,085
thread by: Stephen Poley | last post Jul 21 '05 by: Neal
I'd like to float an image to the bottom of a DIV containing several paragraphs, so that it is positioned to the right of the closing paragraphs (and preferably below the closing paragraphs if the window is narrow). ASCII art (needs fixed width font): |-------------------------| |Qqqqqqqqqqqqqqqqqqqqqqqqq| |qqqqqqqqqqqqqqqqqqqqqqqqq|
4
15,064
thread by: Jorntk | last post Jul 20 '05 by: Tim
I have css in a folder name css. so how can this .css file read a pics file from another folder eg, pics/a.jpg. Both css folder and pics folder are located in a folder named project. I know i can call the pic by url(project/pic/a.jpg) However, its very inconveninet when I change the folder name eg from project to project10.
12
15,063
thread by: qwe | last post Jul 20 '05 by: Stephen Poley
More curiosity than a real problem, but... I've been abusing HTML ID attributes slightly. ..box { margin: 10px; } #red { background-color: #ff0000;
76
15,062
thread by: Zenobia | last post Jul 20 '05 by: Alan J. Flavell
How do I display character 151 (long hyphen) in XHTML (utf-8) ? Is there another character that will substitute? The W3C validation parser, http://validator.w3.org, tells me that this character and the ones around it are illegal - then, after resubmission it flags no errors. So, are there any illegal characters between 0 and 255 in the...
2
15,041
thread by: Andy Fish | last post Jul 21 '05 by: Christoph Paeper
Hi, I am trying to show/hide a group of table rows using javascript and CSS. if I group them in a <tbody> element I can do: my_tbody_element.style.display="none"; to hide them and my_tbody_element.style.display="block";
11
15,031
thread by: Jeff Thies | last post Jul 20 '05 by: Els
I have a series of blocks that are float left that I need centered on the page. <div class="center" align="center"> <div style="width: 100 px;float: left">thumbnail 1</div> <div style="width: 100 px;float: left">thumbnail 2</div> <div style="width: 100 px;float: left">thumbnail 3</div> </div>
3
15,023
thread by: opt_inf_env | last post Jul 24 '05 by: kchayka
Hi, Is it right that the following code will create a button, which being pressed causes loading a new page (some type of hyper link). <form actioni=new_page.php> <input type="submit" value="Cancel"> </form> I expected it is true. But it is not. So how then can one create
4
15,011
bats fur eels
thread by: bats fur eels | last post Jan 22 '07 by: GuitarMaster92
Hi, I was hoping if anyone knew if it were possible using HTML or other basic scripts that enable you to lets say, scroll the webpage down a few margins upon load of page or script. So that it will automatically scroll down for you in case their is a certain spot of the website that you want them to see first. Or in the case of a profile, etc,...
8
15,002
thread by: maroger | last post Aug 3 '06 by: maroger
I'm sure this is a common issue, but I haven't come across anything that works for me thusfar. I am trying to fix my header, which works fine in firefox but has extra space in IE. Here are example html and css files that illustrate my problem: http://torch.cs.dal.ca/~mroger/css/ietest.html http://torch.cs.dal.ca/~mroger/css/styles.css ...
6
15,000
thread by: Valued Customer | last post Feb 7 '06 by: Steve Pugh
Hello, I'm really at a loss here. I have the following index.html: <div align="center"> <iframe src="left.htm" width="15%" height="100%" frameborder="0" name="left" target="contents"> <iframe src="main.htm" width="85%" height="100%" frameborder="0" name="main" scrolling = "no"> </iframe>
3
14,989
thread by: Charles Crume | last post Jul 21 '05 by: Charles Crume
Hello; I'm fairly new to CSS, but have learned that Mozilla is supposed to be the most compliant in rendering. I have a web page that uses a style sheet with a class named "page_links" that centers the various links at the top of the page, just under a heading as in: ---------------- HEADING ---------------
3
14,977
thread by: Will Appleby | last post Jul 20 '05 by: Jane Withnolastname
I'm trying to create a web page that will refresh each time someone visits so they always see an updated version. I've tried using <META HTTP-EQUIV="refresh" CONTENT=";URL=index.html"> in the HTML code, but it doesn't seem to work. If I add time value after CONTENT= it will refresh after that time, but I only want the page to refresh...
3
14,973
thread by: Shel | last post Jul 20 '05 by: Shel
Sorry to bother you; in the below test, <SPAN> doesn't do the text alignment. What's wrong? Using Opera 7.50 for Windows. <HTML> <HEAD> </HEAD> <BODY> <P>regular text
70
14,969
thread by: axlq | last post Jul 28 '06 by: Wes Groleau
I'm trying to design my style sheets such that my pages have similar-looking fonts different platforms (Linux, Mac, Adobe, X-Windows, MS Windows, etc). The problem is, a font on one platform might be the same as a font on another platform, but with different names. I'd like to be able to specify the font names that are "most equivalent." ...
6
14,959
thread by: Big Bill | last post Jul 21 '05 by: kchayka
Doesn't seem to work as I still get an underline. Is there a reason for this? Is this normal? You can see examples on my site. BB -- www.kruse.co.uk/ seo@kruse.demon.co.uk seo that watches the river flow... --
18
14,934
thread by: Jeremy | last post Jul 23 '05 by: chart43
Can anyone point me to where I might find a simple example of coding to achieve the effect of a table row changing colour as the mouse moves over it? Presume the same effect may be possible for an individual table cell? Thanks for any pointers. -- jeremy
4
14,931
thread by: Viken Karaguesian | last post Dec 8 '05 by: Tony
Hello all, Can I prevent something, say a <div>, from scrolling when the page is scrolled? I know that with CSS, "background-attach: fixed" will anchor the background element and prevent it from scrolling. Is there a similar html/css variable or command that I can apply to a DIV, TABLE, or IMG? Viken K.

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.