I have a photo 300 pixels width. I would like to have the title of the photo above in text BUT I wnt the title to be 300 pixels width as well no matter how many charecters in it.
How can I do it?
Thanks!<style type="text/css">
<!--
h1 {margin:0; width:300px}
-->
</style>It doesn't work.
I want the text to start at very left edge of the photo and end at the very right edge of the photo.<style type="text/css">
<!--
h1 {margin:0; text-align:justify; width:300px}
-->
</style>I donno... it doesn't work... I'm not sure I understand why?<style type="text/css">
<!--
h4 {margin:0; text-align:justify; width:149px}
-->
</style>
<h4>ETAOIN SHRDLU CMFGYP WBVKXJ QZ</h4>
<div><img alt="bettie page" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.bettiepage.com/images/photos/bikini/bikini1.jpg"></div>Well, it doesn't work if the photo is bigger then the text. I'm trying to figure out a way so the text will stratch automaticly.
Any idea?Did you really give my example a try?Weee, if your going to be asking for help, try what is given to you.
Charles, I tryed what you said. It works like a charm. Set the width, then Justfiy the text.
Try it, and if it does not work, keep trying it, becuse it works for me, and I am guessing it works for Charles.
Wofen
How can I do it?
Thanks!<style type="text/css">
<!--
h1 {margin:0; width:300px}
-->
</style>It doesn't work.
I want the text to start at very left edge of the photo and end at the very right edge of the photo.<style type="text/css">
<!--
h1 {margin:0; text-align:justify; width:300px}
-->
</style>I donno... it doesn't work... I'm not sure I understand why?<style type="text/css">
<!--
h4 {margin:0; text-align:justify; width:149px}
-->
</style>
<h4>ETAOIN SHRDLU CMFGYP WBVKXJ QZ</h4>
<div><img alt="bettie page" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.bettiepage.com/images/photos/bikini/bikini1.jpg"></div>Well, it doesn't work if the photo is bigger then the text. I'm trying to figure out a way so the text will stratch automaticly.
Any idea?Did you really give my example a try?Weee, if your going to be asking for help, try what is given to you.
Charles, I tryed what you said. It works like a charm. Set the width, then Justfiy the text.
Try it, and if it does not work, keep trying it, becuse it works for me, and I am guessing it works for Charles.
Wofen