Hey guys, I need help with some Javascript code. I’m trying to position the BBB logo on this website and the Javascript keeps reseting the position. Refresh the page to see what I’m talking about. Is there anyway to override it from doing this?
The reason I ask is because if you have just used Insert > Markup Item then it can float about inline and be affected by external CSS.
Create an Html item first - the correct size - that you position in your layout. Then use Insert > Markup item inside it.
That may give you greater control.
D
freewaytalk mailing list
email@hidden
Update your subscriptions at:
So, however the item a#bbblink is being created in your page, it is still an html item that is styled with CSS… and since we can control the CSS for this page we can control this item as well.
So, in your header styles, create this new CSS style with these properties:
The margin property resets the item to be centered in its container, the top and left values make adjustments for other cosmetic positioning values (the empty paragraph tag above the item, the fact the container doesn’t “look” centered under that image, etc.)
So, once again, not a javascript problem but a CSS problem. Fixed with better CSS.
So, once again, not a javascript problem but a CSS problem. Fixed with better CSS.
That is why I was suggesting the Markup inside an html container that could be positioned using FW’s CSS and the external JS and its CSS would only then affect the positioning within the newly created html container.