Talk:EMPIRE Of The BLACK SUN (BLACKSUN)

From Starfleet Commander
Revision as of 22:40, 6 October 2013 by Gary Mintz (talk | contribs)
Jump to navigationJump to search

Css test

For Sgt Patriot to check.

MM

Merlin this has the same result as the Css you created

<div class="fixed-width-picture">[[File:Valdore-screen.jpg|center|500px|link={{filepath:Valdore-screen.jpg}}]]</div> <br> [[File:Valdore-screen.jpg|center|500px|BlackSun Battle Cruiser]]


Thanks for try --Sgt Patriot 00:47, 6 October 2013 (UTC)


note

The purpose of the CSS is to scale on different screensizes without the fixed width of the picture in px breaking the flow of the content.

Example:

[[File:Valdore-screen.jpg|center|700px|BlackSun Battle Cruiser]]

BlackSun Battle Cruiser

Will give 700px wide no matter the clientsize of the browser window and breake right margin of the content.

While

<div class="fixed-width-picture">[[File:Valdore-screen.jpg|center|700px|link={{filepath:Valdore-screen.jpg}}]]</div>

Valdore-screen.jpg


Will give a scrollbar if the Picture is wider than the content area of the wiki. The scale-width-picture CSS class is what I aimed for, but have not tested it on all browsers and screens yet.

And modern browsers on tablets and phones scale automatic, so this is more for older pc's.

-- Microfix Merlin