NameSilo

A box within a box?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Name Trader

formerly @stubTop Member
Impact
11,469
I have a particular problem. I have a webpage with a four column footer. All the footer columns are centralized, and all but the contact info column looks good. The contact info has each line of info centralized. What I'd like is to have each line lined up left justified, but the overall presentation of the whole contact info, centralized in it's box. Something like this....

-------------Contact Info--------------
-----Name...............................-----
-----Address...........................-----
-----Telephone........................-----
-----Email................................-----

The "-" represents a centralized line. Of course each line is of a different length and the Address line will wrap onto 2 lines. The header is separate to the address content lines. So, I'm imagining, the 4 address lines would be within a box which is left justified, and this box would be within another box (without any other content) which is centralized. Would this work? I'd like some sample code to achieve this, even if it isn't using a box-within-a-box concept.

Perhaps by using padding in the .css file?
 
Last edited:
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I am feeling blonder by the moment reading all this!...lol
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back