Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cygmorg

    centering spans

    Something like this maybe? HTML: <div> <span class="span1"><img src="pixel.gif"></span> <span class="span2">Text</span> </div> CSS: <style type="text/css"> div { text-align: center; border: 1px solid #000000; }...
  2. cygmorg

    words to slide across screen

    You are on another planet! Vragabond is correrct in saying that marquee is the way to go. Why would you want to use this dreamweaver extension which may I say costs, when a simple line of html does the trick perfectly? However, I do agree that marquee is very tedious. :) linux is the way...
  3. cygmorg

    positioning different in ie and ff

    I suppose you could 'bodge' it using margins: <div> 123 <div style="position:absolute; margin-top:20px; margin-left:-27px;"> 456 </div> </div> but I don't like doing it this way, its unorthadox with the '-' margin. However, I cannot see any other easy solution to this in...
  4. cygmorg

    positioning different in ie and ff

    You could use a <br> tag like so: <div> 123<br /> <div style="position:absolute"> 456 </div> </div> This seems to work in IE :) linux is the way forward! Gareth :)
  5. cygmorg

    Validator @ W3 not liking my background and border attributes

    html: <td height="71" style="background-image:url(images/line-bg.gif)"> and in css: td { height: 71px; background-image: url(images/line-bg.gif); } Hope this helps :) linux is the way forward! Gareth :)
  6. cygmorg

    Mozilla div overlap problem

    Ok, I have a few thing to point out: 1) When posting code, please use the [ code ]...[ /code ] tags for your code as it makes it a lot easier to read (as demonstrated below). 2) I would advise on taking out your unnecessary 2nd <head> tag. 3) I would also advise on putting "" around your <div...
  7. cygmorg

    White border around image within black border

    put a border around the image and a border around the div like this: .div { border: 15px solid black; } img { border: 1px solid white; } Hope this helps :) Gareth :)
  8. cygmorg

    overflow: hidden won't work for me

    Personally, I'd use div's instead of tables, but thats just a preference. You can just go: td {overflow: hidden;} To apply it to all cells in all tables in the html document. Hope that helps :) Gareth :)
  9. cygmorg

    Text Align Image

    Don't use tables. I can't find any other way, but I think we need to float the image: .inline1 { float: left; width: 10%; } .inline2 { width: 18%; margin-left: 10%; } And this is the HTML: <p> <div class="inline1"> <img src="img.jpg" alt="Photo: Casella" align="top" width="80"...
  10. cygmorg

    Text Align Image

    Dan, You're completely right. I usually use % instead of fixed widths and I was just playing about with a bit of code. I didn't notice one was % and one was a fixed width, and in this situation, it would make more sense to have them all as fixed widths. Gareth Gareth :)
  11. cygmorg

    Text Align Image

    On my previous post, you don't actually need the <div class="inline"> ... </div> bit. As for the align:"left" issue, it seems to work fine on my PC (Windoze XP, Firefox 3.0.13). What OS and browser are you using? Gareth :)
  12. cygmorg

    Text Align Image

    Dan has got the most of it right, your code is a bit messy. Anyway, the problem with Dan's code is that where there is: <br/><br/> The "Starting at 9" part is appearing below the image. So this is what I would do: <h2 class="style7">Pride Night - September 12, 2009</h1> <p> <div...
  13. cygmorg

    can't get background image to show.

    I don't know why, but in firefox, Opera, Safari, Avant Browser, Sleipnir, K-Meleon, Google Chrome, IE 8, Flock and FlashPeak SlimBrowser, regardless that the first <style> tag is self-closing, it doesnt work with two <style> tags in the same html document :)
  14. cygmorg

    can't get background image to show.

    Hi feherke. Because he has two <style> tags: <style type="text/css"/> <style> I tried taking away the bottom style tag and it worked in firefox 3.0.13
  15. cygmorg

    can't get background image to show.

    Also, if you really want self-closing tags, this: <style type="text/css"/> is not valid. Self-closing tags need a space between the " and the /> like this: <style type="text/css" /> You have only one valid self closing tag which is your first meta tag. One last thing i'd mention is that if...
  16. cygmorg

    can't get background image to show.

    take away the <style> tag :)
  17. cygmorg

    Disable touchpad in older Win XP Pro

    On my fairly old Toshiba Satellite Pro, I can press Fn + F9 to disable/enable my touchpad
  18. cygmorg

    mysqldump - weird charachters in password

    Try a space between the -p and the 'Du...' Might work
  19. cygmorg

    Background expansion

    Are you using divs, tables, floats? If you post some code, we might be able to help :)
  20. cygmorg

    Centering an image horizontally

    It will work fine without the div, because the styles are being applied to the 'img' tag. If you want, you could put it in a div and then center that instead: <style type="text/css"> .center { text-align: center; } </style> <div class="center"> <img src="favicon.ico"> </div> I personally...

Part and Inventory Search

Back
Top