Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Picture of Webman
Posted
In the created HTML code from 2.91b and earlier you get: img { border-width: 0;}

In 2.91c you also get a vertical align value:
img {
border-width: 0;
vertical-align: top;
}
How can I change the vertical align to e.g. left?

I get offset problems with my menu dropdown indicator arrows if the parameter is "top"

Smile
 
Posts: 51 | Location: Stockholm, Sweden | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
If you need to change it for all images on the page, use a code object and set the code placement to "in CSS" and enter:
img {
  vertical-align: left;
}
This will be placed in the published code after the SSPro generated code and will override the normal setting.

Alternately, you can do this on an image-by-images basis. Activate the desired image and open the Geometry Editor to the Options tab. At the bottom is a Code field where you can enter:
style='vertical-align: left'  
 
Posts: 5073 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of Webman
Posted Hide Post
Thanks Larry,

Your suggestion adding a code object and the code placement "in CSS" fixed the problem with vertical-align: middle;

Cool
 
Posts: 51 | Location: Stockholm, Sweden | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.