Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by rookaps
at 2024-07-30 03:06:19
Point:500 Replies:7 POST_ID:829164USER_ID:12049
Topic:
Web Languages/Standards;Hypertext Markup Language (HTML);Cascading Style Sheets (CSS)
How can I center these 3 boxes within the div (with red border)?
http://rookaps.com/example.htm
Thanks.
http://rookaps.com/example.htm
Thanks.
Attachment:example.cssexample.htm
Author: rookaps replied at 2024-07-30 10:47:41
:)
Expert: duncanb7 replied at 2024-07-30 10:27:23
Thx for your pt
have a nice day
Duncan
have a nice day
Duncan
Author: rookaps replied at 2024-07-30 10:11:37
I'm sure all of these work beautifully. I must admit I had just given up and reverted to a table.
Thanks.
Thanks.
Expert: COBOLdinosaur replied at 2024-07-30 10:11:12
You probably have an issue related to using position:absolute; and margin:auto If you want it centered then get rid of the position absolute and set the top position with a margin-top of 120px; then the text-align:center should finish the job.
The way the properties of the .absolute-center class are written you will have all kinds of cross-browser, and cross-device anomalies because you are giving the client contradictory instructions.
Cd&
The way the properties of the .absolute-center class are written you will have all kinds of cross-browser, and cross-device anomalies because you are giving the client contradictory instructions.
Cd&
Accepted Solution
Expert: Gary replied at 2024-07-30 07:17:44
167 points EXCELLENT
I'm sure all of these work beautifully. I must admit I had just given up and reverted to a table.
Thanks.
Thanks.
Assisted Solution
Expert: duncanb7 replied at 2024-07-30 06:07:36
166 points EXCELLENT
I'm sure all of these work beautifully. I must admit I had just given up and reverted to a table.
Thanks.
Thanks.
Assisted Solution
Expert: Dexter_morgan replied at 2024-07-30 03:30:52
167 points EXCELLENT
Hey there,
There exist many solutions to your problem, however i am attaching two approaches, you can refer to them as per your convince. I incorporated those 3 div to be centered in a separate class and there defined style for them, you group them and define them similarly too.
Feel free to revert back for further queries / doubts.
Thanks
~Dex
There exist many solutions to your problem, however i am attaching two approaches, you can refer to them as per your convince. I incorporated those 3 div to be centered in a separate class and there defined style for them, you group them and define them similarly too.
Feel free to revert back for further queries / doubts.
Thanks
~Dex