473,808 Members | 2,758 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.
1
2,076
thread by: koyanpaing | last post Jul 19 '10 by: Dormilich
Hello everyone, I would like to know how to fit the limited size in background image of div tag. My code is <style> #gallery_image{ width:156px; height:156px; float:left;
2
1,523
mickey0
thread by: mickey0 | last post Jul 18 '10 by: mickey0
Hello, I must do something like this (it doesn't work and I wonder if 'form' tag is necessary as well): <head> <script language="JavaScript" type="text/javascript"> function createCalendar(form) { alert("calendar" + form.date); //here I must use 'date' //document.bgColor='yellow'"; //this doens't work...
1
1,599
thread by: vineethanr | last post Jul 18 '10 by: TheServant
how to work with div tag after design templates in photoshop ?
2
1,493
thread by: Lee Carroll | last post Jul 17 '10 by: Lee Carroll
I am having trouble with my website: www.leecarrolldesign.co.uk It works perfectly in Firefox but in safari the content does not load into the mainFrame. Strangely, however, it will load an external site into the frame (see the blog section of the site) I have ran the site through the http://validator.w3.org/ tool but it hasn't noticed...
2
5,314
KeredDrahcir
thread by: KeredDrahcir | last post Jul 16 '10 by: drhowarddrfine
When using an object tag to embed a video file everything looks fine in Internet Explorer and Safari. However I can't get it to display at all in Opera. More importantly in Firefox and Google Chrome the height doesn't work so that you get it wide and short which distorts the video and makes it looks like bad layout. <object width="640px"...
1
1,651
thread by: Francine Morden | last post Jul 16 '10 by: TheServant
Here's the iframe code I have now <iframe src="still_for_video.jpg" width="500" height="450" frameborder="0" scrolling=no name="video" title="video"></iframe> I want the iframe to open with the .jpg and then when I click the .jpg, I want the video to play within the same iFrame. Please help!
10
23,742
thread by: crippletoe | last post Jul 14 '10 by: JKing
Hi all, i am looking for a way to prevent a horizontal, inline unordered list from breaking into seperate lines once contained inside a element with specific width (shorter than the list). the element has "overflow" set to "hidden". the only way i found to create that effect is by giving a specific width to the "UL" element but now, i have to...
2
1,423
thread by: SashaBu | last post Jul 13 '10 by: Dormilich
Hi everyone! I'm just starting to get acquainted with html/css so my question might seem simple. So, I want to insert two images like hyperlinks to other pages. They should be under each other, on the left. Another thing is a logo, which is again an image and link to the homepage. Placed in the center. I managed to place all these the way I...
1
2,027
mickey0
thread by: mickey0 | last post Jul 13 '10 by: TheServant
Hello, I would like to center 'Savi' but align=center seems dont' work on it. Any hints? thanks <html> <body> <table border="1"> <tr> <th align="center">Savi</th> </tr> <tr> <td>January</td>
1
1,354
mickey0
thread by: mickey0 | last post Jul 12 '10 by: improvcornartist
Hello, is it possible to put an image on a button? I mean something of similar: <INPUT TYPE=BUTTON IMG="image.jpg" /> I didn't find anything. If no, there any trick with JScript or ASP to do that? regards.
10
2,096
thread by: Tyler Olson | last post Jul 12 '10 by: Tyler Olson
I tried uploading our website and everything loaded except the .css file. I tried uploading the .css file to the FTP site manually. I was able to upload it but when i went back to my website, the .css file didn't take effect. Any ideas why the .css file isn't working? Here's what i have as the code... <link href="../css/style.css"...
4
2,158
thread by: mohammad64 | last post Jul 11 '10 by: mohammad64
Hi experts please help me i want to don't view yellow area and assign position of image relative like when used absolute position for image, in code below: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> .back { background-color: Yellow;
2
1,492
thread by: Mitchell Nortje | last post Jul 10 '10 by: Mitchell Nortje
Hi all, He is a snippet of my code: #column2 h1 { font-family: arial, sans-serif; padding: 16px 0px 5px 0px; margin: 0px 0px 12px 0px; border-bottom: 1px solid; font-size: 150%;
4
1,834
mariko
thread by: mariko | last post Jul 10 '10 by: TheServant
I have coding for one style of button, but I would like to add another kind of button. If the external CSS code for the first button is this, what coding would I add for the second button? #button a { display: block; background: url(rolloverimage.gif) top; width: 63px; height: 34px; } #button a:hover {
3
2,163
thread by: dagam3rz | last post Jul 9 '10 by: JKing
Guys I'm having so much difficulty in rendering special character to my html page. The character listed below are some of the chars I'm trying to render. I'm retrieving the character from mysql database using PHP the to HTML. I've enclosed the chars in single quote. '´' 'Ñ' 'ñ' 'é' 'è' 'ë' 'ö' '“' '”' '’' '—' '–' '™' '§' Please help me. ...
6
4,552
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Jul 9 '10 by: ansaripk
Ok, here's my issue. I'm working on a site that uses divs. I absolutely hate divs, but that's what was requested for this project. The layout is a centered, fixed-width design. The header, menu, banner, content, and footer all go straight down the center. Along the edges is a shadow of sorts. Through the header, menu, and banner the shadow...
2
1,451
thread by: ansaripk | last post Jul 8 '10 by: ansaripk
Hi there, I am designing a front end interface for a website. All is well but i'm facing a problem of navigational system is not working in IE7, its working fine for other browsers. Please check this link: http://www.designforce.4pkz.com/getmore/index.html when page will be loaded then you can see a big picture of LCD & camera in center of...
10
1,771
thread by: Jill Gordon | last post Jul 8 '10 by: Jill Gordon
Can somebody take a look at this page of my site: http://jillgordondesigns.com/gallery.html I'm having several issues and I'm not sure if they're all related or what's going on. 1. In Internet Explorer the divs for #newspaperads and #miscellaneous projects don't open in the same place as the content for the #greeting cards div (see the...
3
2,489
thread by: j3ff3 | last post Jul 8 '10 by: TheServant
Hi, First post, but lurked for a while! Probably something really simple, but my footer doesn't seem to want to align with its containing div. Its slightly off to the right. I don;t really understand why - the background image is exactly 850px, as is the div. Just to let you know, i've put borders around the other elements, just to...
1
1,412
thread by: smenglish | last post Jul 6 '10 by: TheServant
Hi, I have created a css navbar with a sprite image, and i'm trying to center it by putting it in a div, inside its parent div, but the navbar sits under the div and wont go inside of the div. Please help me fix this problem, im fairly new to html and css. **** HTML **** <div id="nav"> <div id="navbar"> <ul class="cssmenu"> <li...
2
1,359
mariko
thread by: mariko | last post Jul 6 '10 by: TheServant
I want a background that is the size of the viewer's screen, and I want another background that is 800pixels at all times. The 800 pixel one should be centered and behind the content of my web page. I don't want images, just two different colors. Is there a way for me to do that?
1
2,026
thread by: chintan85 | last post Jul 6 '10 by: Dormilich
Hi guys, I want to pass multiple forms to different scripts. Lets say. Can u please help me.. <form action="pass1.py" method="post" name="Submit"> <input name="gene" type="checkbox" value="gene" /> GENE 1 <form action="pass2.py" method="post" name="Submit">
1
1,670
mariko
thread by: mariko | last post Jul 6 '10 by: Dormilich
In a web page I am currently designing, I have to buttons that are images I designed. They would look great with a white or very light blue border color, but the default color is a hideous dark blue. Is there a way I can change the color?
1
2,735
thread by: kevinsir | last post Jul 3 '10 by: drhowarddrfine
hey guys; I have a problom. when I set something just like 'before all' before html head '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"' target=_blank in head not work,but when i delete 'before all' it works; That's the code. before all <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
3
3,505
thread by: pianofung | last post Jul 2 '10 by: Dormilich
Hi, Will it cause any problem if I add a number sign "#" at the end of an URL? e.g. http://www.mandarinboy.com/index.html#

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.