13. Aligning the text


#1

error inputting correct code and still wont work


#2

What code did you submit and what error did you get?

Please provide more details so you can be helped.


#3

I've been having the same issue. I use the same example given, substituting for left, right, center or whatever the instructions called for. I've tried it every way possible and still no pass

or right, left, whatever it called for....


#4

please post your code so we can help you


#6
	<h3 style="text-align:center">>Favorite Football Teams</h3>
		<ol>
		<h3 style="text-align:left"><li>The Hawthorn Football Club</li></h3>	
		<h3 style="text-align:center"><li>San Franscisco 49ers</li></h3>
		<h3 style="text-align:right"><li>Barcelona FC</li></h3>

#7

style is an attribute you can add to many html elements, you should add the style attribute to <li>, remove all the h3 tags around your list tags


#8

it works! thank you!


#9

can u please show us the working code thanks


#10

I could, but that is not how i do things. If you need help, please post your code so i can help you


#12

i did the same as emiliet88 but when u replyed the answer i did not know what u ment, please could you explain in a more simple way, thank you very much


#13

if you post your code, sure. if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make your code visible:

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard


#14
<h3 style="text-align:center">>Favorite Football Teams</h3>
	<ol>
	<h3 style="text-align:left"><li>The Hawthorn Football Club</li></h3>	
	<h3 style="text-align:center"><li>San Franscisco 49ers</li></h3>
	<h3 style="text-align:right"><li>Barcelona FC</li></h3>

heres my code

#15

it seems almost like you copied emiliet88 code. You didn't, did you?

you should remove the h3 tags around the list tags (<li></li>) and the and the style attribute to the list opening tag:

<li style="">

#16

no i didnt copy! i just had a similar code but i changed it so i could use your advise. also ithe code worked so thank you so much :]