Hi there morain,
let's clear up this misunderstanding.
It seems that you thought that my reply implied that inline CSS would
not work for your problem.
That is not the case. it would have worked had you had just applied
it to the correct HTML element.
Instead of my writing...
"first of all remove all of this inline CSS nonsense.["
...I should have pointed out to you that the use of inline CSS is
actually considered to be bad practice and should be removed
where possible.
What it does do, is override any external CSS that may have
been applied to the element in question. You can test this for
yourself by adding...
Code:
style="border: 8px dotted red"
...to this...
Code:
<img id="slide" src="images/fid310x191.jpg" alt="" class="center">
You will see that you image now has a dotted red border
instead of a solid black one.
Further reading:-
Avoid using inline styling
I trust that this will help clear up any confusion that I may have
caused.
coothead
Bookmarks