473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

putting 2 div besides

mickey0
142 100+
Hello,
I have a central <div> which has width:70%; so there are 2 blank columns on left and right. I'd like to put on the left blank colum the css image validator; but I would like that it will be centered within the left column, like this:
Expand|Select|Wrap|Line Numbers
  1. .MAIN { 
  2.     background-color: #C0C0C0; 
  3.     width: 70%;        
  4.     margin:0px auto;
  5.     padding: 0px;    
  6.     border: 2px;
  7.     border-style: double;
  8.  }
  9.  
  10.  .cssvalidator {
  11.         /* width: 5%;*/
  12.         float:left;
  13.     padding: 0px;
  14.     margin-left: 5%;
  15.     margin-right: 5%;  
  16.     margin-top: 35%;
  17.  }
  18.  
  19.  
More or less this works, but I need something more precise (and general). Can you suggest me something? THanks.
Oct 24 '11 #1
0 1196

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Scotter | last post by:
Please forgive me for reposting; last title didn't quite say it right. I have an ASP application I wrote in vbScript so this is not .Net. There are 20 nearly identical versions of this...
25
by: delerious | last post by:
I see some code examples like this: <DIV onmouseover="this.style.background='blue'"> and other code examples like this: <DIV onmouseover="javascript:this.style.background='blue'"> Which...
4
by: Toby A Inkster | last post by:
In "the other place" Jukka has pointed out that semantically <blockquote/> is useless in many browsers, so I'm experimenting with Javascript to put some functionality back into <blockquote/>. ...
5
by: Vanessa | last post by:
I have a question, is that any other way to retrieve data from another webpage besides using XML object? Because I am using XML object now but give me so much problems. If I used...
5
by: Jim Bancroft | last post by:
New to ASP.Net over here, so apologies if this is a basic question-- I'm using VB .Net to build a managed dll, which I then use in some aspx files. Works fine, except every time I recompile I...
4
by: Alan | last post by:
I am new to VB .NET and always hear database access using ADO .NET, is there any things besides ADO .NET can access database ?
1
by: cjs | last post by:
What, besides the .NET framework, is required to run a .NET application? My nice little application with an MSChart object crashes on a computer WITH the framework installed! I'm sure it's...
2
by: henrywuxg | last post by:
Hi All, I would like to use Period Key(.) besides Tab to toggle from one textbox to another when user is editing IP addresses, which have four textboxes. The function in below works fine with...
9
by: sheri | last post by:
Hi need your expert advice. I want to put my access database online so different users in my company can use it. I can put in on a secure directory on my website. Can you direct me the best way...
2
by: Envergure | last post by:
Is there a way to get the clock time besides clock()? Here's my specific problem: I wrote a little "free camera" application in C++, using OpenGL and SDL. Its camera was controlled with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.