Quizzes & Puzzles29 mins ago
Dreamweaver - positioning tables.
2 Answers
I've just started trying to get to grips with Dreamweaver 8, and the first thing I'm doing is making a table to use for layout - no problem so far. Now, once it's formed, I can adjust the table's size and the number of rows and columns. Still no problem. The thing I can't manage is to get the table positioned where I want it. It doesn't respond to drag-and-drop. I can't get the cursor positioned anywhere except directly to the right of the table either, so I can't cut and paste it to the position I want. Obviously I'm missing something here, and I can't proceed until I've sorted it out. I've looked at several different tutorials on the subject and none of them even addresses this problem. Can someone tell me where I'm going wrong please?
Answers
Best Answer
No best answer has yet been selected by snook. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.This is ugly, but you could put the table in a DIV and use CSS to position the DIV absolutely :
<style type="text/css">
.myposition {
position: absolute;
left: 30px;
top: 30px;
}
</style>
<div class="myposition">
<table> ..... ></table>
</div>
Then you change the left and top attributes of the mypsotion CSS class.
<style type="text/css">
.myposition {
position: absolute;
left: 30px;
top: 30px;
}
</style>
<div class="myposition">
<table> ..... ></table>
</div>
Then you change the left and top attributes of the mypsotion CSS class.
Thanks OBonio, but I'm trying to use Dreamweaver because my HTML is a bit shaky, so your answer is a bit too techy for me to follow. Surely there's a simple, straightforward way to position a table, no? I just want it centred on the page. I thought the idea of Dreamweaver (and any other web authoring WYSIWIG program) was to make layout simple and intuitive.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.