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...
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...
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 :)
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 :)
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...
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 :)
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 :)
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"...
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 :)
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 :)
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...
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 :)
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.