On 21 Mar, 06:36, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article
> <d4d75f33-719c-41b5-a730-0e9b46c31...@e38g2000yqa.googlegroups.com>,
>
>
>
>
>
> *itsastickup <lorrim...@googlemail.com> wrote:
> > Hello folks,
>
> > I'm not too hot on CSS, being a backend dev. I'm having to deal with
> > some
> > frontend code and I'm stuck on this one. A submit button is invisible
> > in IE,
> > while yet visible in firefox, opera and safari.
>
> > The html is simple, so presumably the problem is with the CSS.
>
> > I've dumped the styles for the button so while the actual coded CSS
> > isn't as
> > verbose nothng will be missed (hopfully) through some chain of
> > inheritence I
> > know little about. I do know the original dev wasn't so experienced.
> > But I know less
> > than him.
>
> > Here's the pastie :
>
> >http://pastie.org/422507
>
> > Any help would be much appreciated.
>
> What are you trying to achieve?
>
> If you get rid of
>
> #updatebutton {
> * * * *position: relative;
> * * * * * * top: -255px;
> * * * * * * left: 340px;
> * * * * * * z-index: 2;
> * * }
>
but then I'm unable to position the object. Is this the reason pros
use tables?
>
> the the many puzzling properties like "border-right-style-value" - where
> did you get these from - you will see a button. Give a proper doctype, I
> recommend HTML 4.01, get rid of a couple of end slashes and Bob will
> start to be your uncle.
End slashes. Really? They cause problems?
I had the right doctype.
In the end I found a bizarre solution from another page that worked
out to be nearly identical but for one difference: a non-breaking
space inserted before the fragment of html I supplied. Like so :
</div>
<div id="updatebutton"><input class="submitbuttons" name="commit"
type="submit" value="update"
xonmouseover="this.style.cursor='pointer';" /></div>
It's a funny old thing. All this web app nonsense is all very well but
it seems to me that traditional delphi or VB dev is a lot quicker and
less prone to absurdity.