When I am editing the post content, I am unable to float a table to right and the text below to the left. For instance, if I write the below code in the HTML section of Post Editor, it is not giving any result:
<table style="float:right; width: 50%;"> <tbody> <tr> <th> <h1>Strategy</h1> </th> </tr> <tr> <td>Some Text</td> </tr> </tbody> </table> <h1>My first heading1</h1> some paragraph text here. some paragraph text here. <h1>My second heading</h1> some paragraph text here. some paragraph text here.
I have also tried using DIVs – one for the table and another for the text below the table. Even that doesnt seem to be working.
Am I doing anything wrong or is this a problem within the css of them theme? I am using Sunspot Theme by Automattic.
- The topic ‘[Theme: Sunspot] Difficulty in Float Right and Float Left in Post Content’ is closed to new replies.