473,699 Members | 3,103 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.
10
8,575
thread by: chengenfang | last post Jun 15 '11 by: drhowarddrfine
I want to open a local image file in my local PC, such as "E:\image\a.jpg", then I write the code as following: <svg> <image xlink:herf="E:\image\a.jpg" x="100" y="100" height="500" width="600"> </svg> but the image don't show in my IE,how call a local image file to use the SVG image element? Thank you very much. Good night.
1
1,567
thread by: sds sa | last post Jun 14 '11 by: drhowarddrfine
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> works with j2ee 1.2 version?
1
1,468
thread by: sedigh mohseni | last post Jun 14 '11 by: Dormilich
hi when an element is floated , browser place that to the first left or right available space and the other elements are floated around that, is this statement true? would you please notice to below example: <html> <head> <style type="text/css"> body { border: 1px solid brown; }
1
1,317
thread by: sedigh mohseni | last post Jun 14 '11 by: Dormilich
hi when we positioned an element absolutely , that element placed based nearest parent element with position property other than static, for assign % value for bottom property , this value is calculated based on height of the parent element? what is meaning of parent element in this statement(real parent element with no cosider position property...
1
1,524
thread by: sedigh mohseni | last post Jun 14 '11 by: Dormilich
Hi, I quoted this statement from w3schools site in http://www.w3schools.com/css/pr_pos_clip.asp , that state:"What happens if an image is larger than its containing element? - The clip property lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed."...
2
1,593
thread by: sedigh mohseni | last post Jun 13 '11 by: sedigh mohseni
hi we define margin as a part of box model of the element but what happen when i define margin for an element that don't have any sibling, are margins of that element affected? for example see the below example: <CODE> <html> <head> <style type="text/css"> p
2
1,873
thread by: radu jit | last post Jun 12 '11 by: sedigh mohseni
Hi, I am using one of the built-in jquery slider scripts. Everything works fine in explorer, but in Firefox, Opera and Chrome is messed up. Here is the style: <style type="text/css"> .clear { clear:both
1
1,962
thread by: sedigh mohseni | last post Jun 10 '11 by: drhowarddrfine
hi value invert for outline-color does'nt work in firefox, is that right? i quoted this statement from w3school site that is about invert value for outline-color property. "Inverts the color of the outline to the opposite value. This is default" what's the meaning of the opposite word in that statement?would you please state with examples?...
1
1,260
thread by: sedigh mohseni | last post Jun 10 '11 by: drhowarddrfine
hi i quote this statement from w3shools site . "An outline is a line around an element. It is displayed around the margin of the elem" I use firefox 4.0.1 but in my browser i saw that outline is a line that is drawn around the border of the element , is firefox is inconsistent with outline property because invert value for outline-color...
4
8,211
thread by: sedigh mohseni | last post Jun 10 '11 by: sedigh mohseni
hi what is visual diffrence between none an hidden value for table element's border-style property? thanks in advance.
3
1,751
thread by: sedigh mohseni | last post Jun 10 '11 by: JKing
hi Is there any separate font for small-caps version of fonts? if the answer is true , what happened if for a font there is'nt any small-caps version or is'nt installed in operating system? does browsers simulate that ? if your answer is true , what is the rate of smallness size of lowercase letters that is converted to lowercase letters? ...
4
7,708
HaLo2FrEeEk
thread by: HaLo2FrEeEk | last post Jun 9 '11 by: drhowarddrfine
I couldn't think of a better title. Basically what I want to do is to create a rounded corner that flares out from the edge, instead of into it. Take a look at the attachments, the red line in the close up represents the bottom of one div, the rounded corner of the one immediately below it flares out, creating a reverse corner that really helps...
1
3,058
thread by: josh dunn | last post Jun 9 '11 by: MusoFreak200
I do not know how to put a border that will contain text and image on the right of the web page. do i need both css and html. what do i need? I need an example of how to float to the right. I dont know what html to put with what css. please help
1
14,269
thread by: sadanandsuvarna | last post Jun 9 '11 by: MusoFreak200
Hi, I hv created following script for rediffmail login, i've saved login name and password and has saved it with .html extension so that when i click on the file it wud directly take me to inbox screen, everything works fine, but it does not submit after displaying username and passwd. It shd directly submit after i run .html file, which is not...
1
6,730
thread by: Ronit Passwala | last post Jun 9 '11 by: MusoFreak200
I am using below CSS to align center for Select Tag options. But it is not aligning text to center in all browser. It is working in FF3.6 browser but not working in IE8, Chrome 10.0 and Safari 4.0 and etc. The output is varying in each browser. Below is the code that I am using to apply center alignment for the text of Select Tag. ...
1
1,890
thread by: Amit Kumar M | last post Jun 9 '11 by: MusoFreak200
Hi, I have a html page containing frameset. Inside the frameset there are two frames (frame1, frame2). frame2 contains a iframe. How can I set the target of iframe to 'frame2' so that whole page does not get refreshed but only the 'frame2'. thanks, Amit M.
1
896
thread by: sedigh mohseni | last post Jun 9 '11 by: MusoFreak200
May i ask ,What is real diffrence between max-height and height property based on occupied space? I test both of them but i didn't find any diffrence between them in action?(and between width and max-width too.) thanks alot for your help.
1
1,524
thread by: sedigh mohseni | last post Jun 8 '11 by: Elisabeth Dietz
hi can we use values other than top, bottom , middle for content of the cells table?(for example can we use baseline, text-top, and the other values that is defined for this property in w3c specifications) thanks in advance
2
1,895
thread by: James | last post Jun 8 '11 by: Elisabeth Dietz
Hi there! Okay so basically what I’m trying to figure out is how to change the height of one div to use repeatedly within various pages of a website I’m creating. I have about 10 different web pages and all of them differ in height. The home page has images and text on and I’m using a div called "content" which is 700px in height and this is...
1
4,762
ilya Kraft
thread by: ilya Kraft | last post Jun 7 '11 by: drhowarddrfine
Hello, I need to shape a div tag in the shape like in this image: http://bytes.com/attachments/attachment/5205d1307460155/div.jpg because I want to have a hover event when div with this shape changes color. I know how to make this shape from 2 divs, but then hover event would only work on one of them and I need whole div to change color. ...
1
1,648
thread by: Brian Connelly | last post Jun 7 '11 by: drhowarddrfine
I have a div tag called container. I want to create two more elements, one for a image and another for text. The image container should be in the upper right corner and the text container should align next to the image container. So my question is how do I add independent elements to the #Container element so that when I use the image element or...
1
1,283
thread by: phpuser123 | last post Jun 6 '11 by: drhowarddrfine
The menus and the text at the bottom are in the div#body tag.. I've set a border of green for this.. The menus and the bottom text should have been within this green border but they are not.. What's wrong with the codes? Why don't they fit withing the border? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
3
2,529
thread by: sedigh mohseni | last post Jun 5 '11 by: sedigh mohseni
hi are css background properties that are set for body element considered for html selector when there are's any css background properties for html selector? or body element is an exception that for it background-image is inserted into margin area? (i ask this question because background-image is not inserted to box of the element for...
3
5,015
thread by: Brian Connelly | last post Jun 3 '11 by: JKing
HEllo, I am working on a project for a friend and have created a horizontal navigation menu. It works well, but when the lists drop down I want to make the entire view selectable and not just over the displayed text. I attached a png photo that highlights what happens when the mouse hovers over the dropdown. I want the entire dropdown area to...
3
2,634
thread by: freefony | last post Jun 1 '11 by: JKing
am trying to create vertical drop down but it only works well for the first tab. the HTML <div id="wraper"> <ul class="tabs"> <li> <ul id="tab_ul"> <li><a href=# onmouseover="javascript:showlayer('ul1')">HOME</a></li> <ul id="ul1" class="subtab_ul1">

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.