Jump to content

Petrucho

Members
  • Posts

    41
  • Joined

  • Last visited

Everything posted by Petrucho

  1. the question is in the topic i couldn't find the answer.
  2. Petrucho

    CSS fixed bg

    put here you'r final code, so we can see and help you.
  3. thank you! now it's working great
  4. it's got a distance from the div. a distance that i dont want.i want the ul "attached" to the right side of the divi want the text(ul) get more right into the black border of the div.
  5. body{direction: rtl;background-color: white;background-image: url('../images/background.jpg');background-attachment: fixed;background-position: top center;background-repeat: repeat-x;margin: 0px;padding: 0px;}div#bar{margin: auto;background-color: #DCDCDC;background-image: url('../images/bar.jpg');width: 700px;height: 80px;border-left: 1px solid black;border-right: 1px solid black;}div#main{margin: auto;padding:0px;background-color: #a1a1a1;width: 700px;height:400px;border-left: 1px solid black;border-right: 1px solid black;text-align: right;}#menu_list{list-style-type: none;margin: 0px;}#menu_list li{display: inline;}#menu_list a{color: black;font: 8pt arial;text-decoration: none; }#menu_list a:hover{color:black;font: 8pt arial;text-decoration: none;background-color: silver;} html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <title> לשני המיניים לגירוי </title> <link rel="stylesheet" type="text/css" href="css/css.css" /></head><body><div id="bar"></div><div id="main"> <ul id="menu_list"> <li> <a href="b.htm"> [פתגם 1] </a> </li> <li> <a href="b.htm"> [פתגם 2] </a> </li> <li> <a href="b.htm"> [פתגם 3] </a> </li> </ul></div></body></html> I don't know why, but the "ul" not shown in the right place in the div. it's get some distance that i dont want!the problem is on FF and not with IE that works good.i would like to get some help :)thank you, Yoav. :)p.ssorry that the subject is not clear enough.. but i can't edit it
  6. question:does this tutorial(html) in www.w3schools.com is the version HTML 4 ? or lower?thank you.
  7. im not sure if i understood you. something like this: <?php$str = "hello world";$int_from_str = (int) $str;?>
  8. the problem solved.i needed to add the "display: block;" to the div#menu.thank's for Dekel(not from this form) and all of you that tried to help me.
  9. i need it just for the menu id.there is something wrong, but i didnt find anything..
  10. still, don't work :)i know i need to use the id property..i tried to write like you said #menu instead div#menubut it's still don't work :(you can find the source of the page herethanking you in advance, Yolo. editing post:i need to use the "li" because i want it to effect the li in the <div id="menu">
  11. http://www.rotem-bakery.net/gallery/Im using FireFox 1.0.7 and the width of the page is too large :|the css that i made to the menu part is with the problem for sure.when i remove it, all ok.div#menu li{ float:right; width:100px; border-left:1px dashed black; text-align:center;} when i remove just the float and the width, again, it's good.. but i need them.im searching for hours the answer, but i didn't found any.i would like to get some help, Yolo.
  12. exactly, and you can try it.. :)it's like you get a value from a form because,when you sending form with the method "get", it send the vars by the address.
  13. to accsses the variable you need use the $_GET array, like this:<?php$var = $_GET['variable'];?>
×
×
  • Create New...