Replies

Aug 29, 2021 4 years ago
Flying Ace
Ciannwn
User Avatar
Gwyn ap Nudd

I want to move column 3 a few pixels to the right.

https://subeta.net/petinfo.php?petid=20564

I tried -

{position:absolute; top:108px; right:5px;}

It moved column 3 to the far right of the page

Quote
Ph&;nglui mglw&;nafh Cthulhu R&;lyeh wgah&;nagl fhtagn
H.P Lovecraft
[tot=Ciannwn]

Aug 29, 2021 4 years ago
Takks
has prune fingers
User Avatar

If you define the position as "right: 5px;" the column will be moved from the right side of the screen towards the left, so what you did with that code is say that you want the element to be 5px away from the right side of the screen. Try increasing the number of pixels, or just use margin-left:

{ margin-left: 5px; }

If you have to use absolute positioning, I'd recommend positioning elements from the same side, so everything from the top and the left. That will also prevent problems that may occur on devices with different screen resolutions.

๐ŸŒท๐ŸŒท


๐Ÿฅš[egg=Takks]๐Ÿฌ๐Ÿฌ[tp=Takks]๐Ÿงป

Aug 29, 2021 4 years ago
Flying Ace
Ciannwn
User Avatar
Gwyn ap Nudd

[quote=] Thanks. I'll give both a try and see if I can get it to work.

Quote
Ph&;nglui mglw&;nafh Cthulhu R&;lyeh wgah&;nagl fhtagn
H.P Lovecraft
[tot=Ciannwn]

Please log in to reply to this topic.