473,765 Members | 2,059 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.
9
4,664
JnrJnr
thread by: JnrJnr | last post Apr 5 '11 by: JKing
Hi guys and girls Im trying to make my header repeat. What I have: I have a straight-forward <div> header with two <div>'s (logo and login)inside the header. The <div> logo is on the left and the <div> login is on the right. HTML <div id = "header"> <div id = "logo"> <div/> <div id = "login"> <div/> <div/>
2
1,860
thread by: cssArchie | last post Apr 5 '11 by: cssArchie
Hi Folks, i got this CSS code: <style type="text/css"> #roll {display:block; background-image:url(xxx/yyy.jpg); width:520px; height:95px;} #roll:hover { background-image:url(xxx/zzz.jpg);} </style> <div id="roll" style="position:absolute; left:0px; top:231px; width:520px; height:95px; z-index:5; visibility: visible;"></div>
2
2,033
thread by: dinesh1985singh | last post Apr 5 '11 by: dinesh1985singh
Hi everyone, I am trying to create a simple overlay , and my code is as follows: <div id="popUp" style="display:block; background-color:#ffffff; width:400px;height:180px;margin-left:160px;margin-top:25px; border:2px solid #000000;border-style:solid;position:fixed; z-index: 9999;"> <span style="margin-left:...
1
1,875
thread by: mrkavitha | last post Apr 4 '11 by: Aimee Bailey
i want to pass id from one form to another. how to pass variable through a href? in html.
1
2,030
thread by: Ian Rowe | last post Apr 4 '11 by: Aimee Bailey
Hello, I operate a site that features an Iframed site that needs cookies to work. Is there a way on my end that I can make IE trust cookies coming from the site within the iframe? Thanks! ~Ian
2
4,777
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Apr 4 '11 by: HaLo2FrEeEk
I'm working on a project and I decided to add a sidebar to show a little more information. I made the sidebar a child of the main body container, which is a 720px width div, and gave it a position: absolute, then set it's right position so that it appears at the left edge of the container. The body container has a box shadow, and I want the...
1
2,624
thread by: James Schneider | last post Mar 31 '11 by: drhowarddrfine
I have a mobile website that created and when I view it vertically on an iPhone it works fine. But when I flip my phone horizontally my webiste zooms in. How can I get it to auto fit my screen horizontally like it does vertically?
1
2,188
thread by: dsds | last post Mar 31 '11 by: VijaySofist
While trying to print web pages IE7 is printing an extra blank page.The content of the blank page is just page number and footer.But this is not the case with IE6 and mozilla they are NOT printing an extra blank page.
1
1,960
thread by: Chris Cordner | last post Mar 30 '11 by: drhowarddrfine
Good Evening I am building a website using DIVs and CSS. I have everything in a container DIV, which I want to centre on the page. The CSS is below: #container{ width: 100%; max-width: 1000px; width:expression(document.body.clientWidth > 1000? "1000px": "auto" );
2
4,639
thread by: Alexei Prada | last post Mar 30 '11 by: Alexei Prada
Hi guys, I'm not really advanced in html or css, and I'm having a problem that is really getting me out of my nerves. So I redesigned my portfolio site with dreamweaver as my main html css editor. But with the Web developer toolbar I modified things to take the final choises. In fact my site is just a html file with a flash file with my...
1
22,708
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Mar 30 '11 by: grisgruis
I'm designing a layout for a project and I'm a little rusty on HTML and CSS. I have a div that is centered in the page using margin: auto, it also has a margin-top of 15 and uses CSS3's box-shadow and a border-radius set to 10px. What I want is for the bottom of the div to be locked to the bottom of the screen, unless the content within it...
1
3,354
thread by: dkoro | last post Mar 30 '11 by: VijaySofist
I've created a simple page which uses two buttons for navigation. I want the page to be "fluid" (resizing your window won't affect the main content) and I think I've accomplished that except for one thing that the programmer I'm working with pointed out, that is the two buttons will wrap if the window gets resized to that point (I assume he's...
1
1,562
thread by: dkoro | last post Mar 30 '11 by: drhowarddrfine
I have a very simple page with a left menu column, and for some reason I just cannot tighten up the spacing between the <p>'s in the left column (the "Item #1" etc)...setting both margins and padding to 0 has no effect. Its driving me crazy! Currently its in a <blockquote> which I thought was the problem but removing the <blockquote> doesn't...
2
1,599
thread by: VivDenham | last post Mar 29 '11 by: VivDenham
Hi I have a Members page on Frontpage where all Club Members' photos are thumbnails in cells of a table. When the thumbnail is clicked, a larger version of their photo appears at the top of the screen. We have almost 100 members, so if you click a thumbnail at the bottom of the screen, the Photo at the top of the screen changes, but it...
0
1,317
thread by: Nick Riviera | last post Mar 25 '11 by: Nick Riviera
hey everyone wasn't sure if this was an html or php issue. i'm working on a wordpress site (http://subt.net/wordpress) and having trouble figuring out how to indent the 2nd line of wrapped text w/in a .php widget. see full widget php code below. on the subt.net/wordpress site, if you look under the 'up and coming shows' left sidebar widget,...
6
2,033
KeredDrahcir
thread by: KeredDrahcir | last post Mar 25 '11 by: KeredDrahcir
I want to create a navigation menu using list items. To get the main menu looking the way I want I need to includeposition: relative; However, when I do this, the sub menu that is an li ul starts from below that list item, but I want it floated to the left. Is there way to acheive this?
3
2,225
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Mar 24 '11 by: HaLo2FrEeEk
I'm working on a project that has a background image which needs to be repeated on the x-axis. There will be elements which have transparency overlaying the background image as well. Logically, I set the background attribute of the BODY element in my CSS: body { background: #494949 url(http://example.com/myimge.png) repeat-x; } To my...
5
1,848
thread by: Alexander Lade | last post Mar 23 '11 by: drhowarddrfine
I have an image and text, and I need to wrap the text to the image, but everything I try puts the text through the image. The code is: <div class="image_panel"><img src='images/191951_195678923805881_129928253714282_531690_3568902_o.jpg' alt='' width='250' height='225' style='float:absolute; margin:0px padding:3px;'/></div> <p>Rebounds...
3
1,560
thread by: Jennifer Pavels | last post Mar 21 '11 by: Niheel
Hi, I'm trying to link to a specific webpage in a website, but every webpage url is the same. Is there a way to link to a specific webpage, or will the user just end up at the homepage every time they click on the link? Thanks, Jen
0
1,386
thread by: empiresolutions | last post Mar 19 '11 by: empiresolutions
http://sb.cesarvillaca.com/footer-bug.html (code at the bottom) I have been trying like crazy to get the positioning of this nav correct. I need to get each of the navs to position exactly over their respective links. So the white "Products" word (over state) should sit exactly over the purple "Products" link. It should stick in the correct...
0
1,754
thread by: shameerpv | last post Mar 18 '11 by: shameerpv
In my page i am embedding a media player. I just want to play audio files. I only need to give support to internet explorer. The html i am using is shown below <div class="form_date" > <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="audioPlayer" width="251" height="62" type="application/x-oleobject" > ...
3
13,626
thread by: ingthor | last post Mar 18 '11 by: ingthor
Very simple question... As you can see the whole text flows out of its div or container (the white box) what code in CSS can use to stop this http://nicejob.is/trekkingtravel/tour_ID2.htm
0
1,193
thread by: dragon52 | last post Mar 17 '11 by: dragon52
Hi everyone, I want to have the footer div stick to the bottom of the screen and my code works until I add the <form></form> to the html. Can somebody spot the problem for me. I only know basic html. Here is the code. If I remove <form name=...></form> then it works. I am writing php but the html shouldn't matter? I am building a user input...
1
1,436
thread by: gavish | last post Mar 17 '11 by: Rabbit
Hi all I want to add vertical scroll bars in table but I want its header not to move.Means header should be fixed and only data part will have scroll bar.....reply me as soon as possible.
1
3,678
thread by: Harry Cho | last post Mar 17 '11 by: drhowarddrfine
Hello Following code gives me error when I try to validate it from validator.w3.org. I copied this code from book and image file is in the same folder as html file. Help me out. <?xml version = "1.0" encoding = "utf-8"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <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.